fixed #2037

parent 7401c8ba
...@@ -729,7 +729,7 @@ class RosterInfoTab(Tab): ...@@ -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): ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment