From 23aa5542b2189ec2ced42aef8e60762eaa27047e Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 15 Dec 2010 21:21:33 +0000 Subject: [PATCH] fixed #2037 --- src/tabs.py | 7 +++++-- 1 file 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