diff options
Diffstat (limited to 'src/tabs')
-rw-r--r-- | src/tabs/rostertab.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabs/rostertab.py b/src/tabs/rostertab.py index e923bef9..349058a3 100644 --- a/src/tabs/rostertab.py +++ b/src/tabs/rostertab.py @@ -1012,6 +1012,8 @@ class RosterInfoTab(Tab): """ '/' is pressed, we enter "input mode" """ + if isinstance(self.input, windows.YesNoInput): + return curses.curs_set(1) self.input = windows.CommandInput("", self.reset_help_message, self.execute_slash_command) self.input.resize(1, self.width, self.height-1, 0) @@ -1187,6 +1189,8 @@ class RosterInfoTab(Tab): Start the search. The input should appear with a short instruction in it. """ + if isinstance(self.input, windows.YesNoInput): + return curses.curs_set(1) self.input = windows.CommandInput("[Search]", self.on_search_terminate, self.on_search_terminate, self.set_roster_filter) self.input.resize(1, self.width, self.height-1, 0) @@ -1197,6 +1201,8 @@ class RosterInfoTab(Tab): @refresh_wrapper.always def start_search_slow(self): + if isinstance(self.input, windows.YesNoInput): + return curses.curs_set(1) self.input = windows.CommandInput("[Search]", self.on_search_terminate, self.on_search_terminate, self.set_roster_filter_slow) self.input.resize(1, self.width, self.height-1, 0) |