This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-12-15 21:21:33 +00:00
parent 7401c8ba57
commit 23aa5542b2

View file

@ -729,7 +729,7 @@ class RosterInfoTab(Tab):
if isinstance(self.input, windows.CommandInput) and\ if isinstance(self.input, windows.CommandInput) and\
not self.input.help_message: not self.input.help_message:
self.complete_commands(self.input) self.complete_commands(self.input)
def refresh(self, tabs, informations, roster): def refresh(self, tabs, informations, roster):
if not self.visible: if not self.visible:
return return
@ -792,7 +792,10 @@ class RosterInfoTab(Tab):
def on_gain_focus(self): def on_gain_focus(self):
self._color_state = theme.COLOR_TAB_CURRENT 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): def add_message(self):
return False return False