From 4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 5 Jul 2016 23:23:39 +0100 Subject: Always use the same argument name in Input.do_command. --- poezio/windows/inputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/windows/inputs.py') diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index 18d005d7..d1716914 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -704,8 +704,8 @@ class CommandInput(HistoryInput): self.key_func["M-B"] = self.key_down self.histo_pos = -1 - def do_command(self, key, refresh=True, raw=False): - res = Input.do_command(self, key, refresh, raw) + def do_command(self, key, reset=True, raw=False): + res = Input.do_command(self, key, reset=reset, raw=raw) if self.on_input: self.on_input(self.get_text()) return res -- cgit v1.2.3