From b07dc1b2624cc616b67c7bec077e51b128cd50c6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 20 Apr 2019 00:07:00 +0200 Subject: doc: Fix scroll_to_separator description. --- poezio/windows/text_win.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/windows') diff --git a/poezio/windows/text_win.py b/poezio/windows/text_win.py index 1de905ea..96161d51 100644 --- a/poezio/windows/text_win.py +++ b/poezio/windows/text_win.py @@ -267,8 +267,8 @@ class TextWin(BaseTextWin): def scroll_to_separator(self) -> None: """ - Scroll until separator is centered. If no separator is - present, scroll at the top of the window + Scroll to the first message after the separator. If no + separator is present, scroll to the first message of the window """ if None in self.built_lines: self.pos = len(self.built_lines) - self.built_lines.index( -- cgit v1.2.3