From 7b5407b7b7059159691d85d58aa11fea8c2f5469 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 12 Jan 2011 21:27:43 +0100 Subject: Correctly refresh the screen on ^G on roster commands --- src/tabs.py | 1 + src/windows.py | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 2d071973..2149e36c 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -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): diff --git a/src/windows.py b/src/windows.py index ef4c1264..e425913b 100644 --- a/src/windows.py +++ b/src/windows.py @@ -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) -- cgit v1.2.3