diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-22 02:48:24 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-22 02:48:24 +0000 |
commit | d803d5f95a04a7da772fc4bd218aef4e17b6053a (patch) | |
tree | 6b5fabae5188639a3ad5e5f46bb4590255502192 /src/tab.py | |
parent | 6ffafadbdd6c19bb01438478794b64fd307b1d72 (diff) | |
download | poezio-d803d5f95a04a7da772fc4bd218aef4e17b6053a.tar.gz poezio-d803d5f95a04a7da772fc4bd218aef4e17b6053a.tar.bz2 poezio-d803d5f95a04a7da772fc4bd218aef4e17b6053a.tar.xz poezio-d803d5f95a04a7da772fc4bd218aef4e17b6053a.zip |
fix the crash on '/' in the roster
Diffstat (limited to 'src/tab.py')
-rw-r--r-- | src/tab.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -506,7 +506,8 @@ class RosterInfoTab(Tab): '/' is pressed, we enter "input mode" """ curses.curs_set(1) - self.input = windows.CommandInput(1, self.width, self.height-1, 0, self.default_help_message, "", self.reset_help_message, self.execute_slash_command) + self.input = windows.CommandInput("", self.reset_help_message, self.execute_slash_command) + self.input.resize(1, self.width, self.height-1, 0, self.core.stdscr) self.input.do_command("/") # we add the slash def reset_help_message(self, _=None): |