summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-15 21:21:33 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-15 21:21:33 +0000
commit23aa5542b2189ec2ced42aef8e60762eaa27047e (patch)
tree46d10a984b659d22c80180f6a4e0a0e77e8f97d2
parent7401c8ba572e28d1f1a7ae159af055930e393167 (diff)
downloadpoezio-23aa5542b2189ec2ced42aef8e60762eaa27047e.tar.gz
poezio-23aa5542b2189ec2ced42aef8e60762eaa27047e.tar.bz2
poezio-23aa5542b2189ec2ced42aef8e60762eaa27047e.tar.xz
poezio-23aa5542b2189ec2ced42aef8e60762eaa27047e.zip
fixed #2037
-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