summaryrefslogtreecommitdiff
path: root/poezio/windows
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-04-20 00:07:00 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-04-21 14:15:36 +0200
commitb07dc1b2624cc616b67c7bec077e51b128cd50c6 (patch)
tree0a4b6abd062622ff39b3aa88e665af0238a518b0 /poezio/windows
parentc737d2721f7955d45095fc98d176d8edf54821da (diff)
downloadpoezio-b07dc1b2624cc616b67c7bec077e51b128cd50c6.tar.gz
poezio-b07dc1b2624cc616b67c7bec077e51b128cd50c6.tar.bz2
poezio-b07dc1b2624cc616b67c7bec077e51b128cd50c6.tar.xz
poezio-b07dc1b2624cc616b67c7bec077e51b128cd50c6.zip
doc: Fix scroll_to_separator description.
Diffstat (limited to 'poezio/windows')
-rw-r--r--poezio/windows/text_win.py4
1 files changed, 2 insertions, 2 deletions
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(