summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 74696df5..c33e044c 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -729,7 +729,7 @@ class RosterInfoTab(Tab):
if isinstance(self.input, windows.CommandInput) and\
not self.input.help_message:
self.complete_commands(self.input)
-
+
def refresh(self, tabs, informations, roster):
if not self.visible:
return
@@ -792,7 +792,10 @@ class RosterInfoTab(Tab):
def on_gain_focus(self):
self._color_state = theme.COLOR_TAB_CURRENT
- curses.curs_set(0)
+ if isinstance(self.input, windows.HelpText):
+ curses.curs_set(0)
+ else:
+ curses.curs_set(1)
def add_message(self):
return False