fix the crash on '/' in the roster

parent 6ffafadb
......@@ -506,7 +506,8 @@ class RosterInfoTab(Tab):
'/' is pressed, we enter "input mode"
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):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment