fixed #2037
This commit is contained in:
parent
7401c8ba57
commit
23aa5542b2
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue