summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-30 17:30:06 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-30 17:30:06 +0200
commit7683bf92a78e9cfeefdb35dfbd9e65e65597e4df (patch)
treee580f0930dac29531c722304f13aed808efbf22d /src
parentfdf6a00bbc5b8fe6ee2882e7dfbcb061771ed9e3 (diff)
downloadpoezio-7683bf92a78e9cfeefdb35dfbd9e65e65597e4df.tar.gz
poezio-7683bf92a78e9cfeefdb35dfbd9e65e65597e4df.tar.bz2
poezio-7683bf92a78e9cfeefdb35dfbd9e65e65597e4df.tar.xz
poezio-7683bf92a78e9cfeefdb35dfbd9e65e65597e4df.zip
fixed #2258
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 0fde715c..f7c0c9c4 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1417,7 +1417,8 @@ class RosterInfoTab(Tab):
self.input.do_command("/") # we add the slash
def reset_help_message(self, _=None):
- curses.curs_set(0)
+ if self.core.current_tab() is self:
+ curses.curs_set(0)
self.input = self.default_help_message
self.input.refresh()
self.core.doupdate()