summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()