diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2011-01-09 02:23:04 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2011-01-09 02:23:04 +0000 |
commit | 02a805679cd258224454576bee8efe5c7315ac6d (patch) | |
tree | a74b728342d213807fff5a842a377f12798eb125 /src/tabs.py | |
parent | 3ef50faf760ef939838e368fbff5ef6ae6c347d3 (diff) | |
download | poezio-02a805679cd258224454576bee8efe5c7315ac6d.tar.gz poezio-02a805679cd258224454576bee8efe5c7315ac6d.tar.bz2 poezio-02a805679cd258224454576bee8efe5c7315ac6d.tar.xz poezio-02a805679cd258224454576bee8efe5c7315ac6d.zip |
remove the separator when it is at the bottom (unles the user maid M-v)
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index 900bb3e5..f04ef504 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -605,6 +605,8 @@ class MucTab(ChatTab): def on_gain_focus(self): self._room.set_color_state(theme.COLOR_TAB_CURRENT) + if self.text_win.built_lines[-1] is None: + self.text_win.remove_line_separator() curses.curs_set(1) def on_scroll_up(self): |