Commit 7b5407b7 authored by louiz’'s avatar louiz’

Correctly refresh the screen on ^G on roster commands

parent b10fd0d2
......@@ -918,6 +918,7 @@ class RosterInfoTab(Tab):
def reset_help_message(self, _=None):
curses.curs_set(0)
self.input = self.default_help_message
self.core.refresh_window()
return True
def execute_slash_command(self, txt):
......
......@@ -1081,6 +1081,7 @@ class CommandInput(Input):
self.key_func['^M'] = self.success
self.key_func['\n'] = self.success
self.key_func['^G'] = self.abort
self.key_func['^C'] = self.abort
def do_command(self, key):
res = Input.do_command(self, key)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment