diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-07-05 23:23:39 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-07-06 00:25:12 +0100 |
commit | 4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e (patch) | |
tree | 946b4b9f46e3daf303f5de6b34b402c2cbcbcffd | |
parent | 14aec23206e5d1e2befdc662b4c67ad1f66360a9 (diff) | |
download | poezio-4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e.tar.gz poezio-4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e.tar.bz2 poezio-4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e.tar.xz poezio-4ffe32ac649f8aa5ca5a7bc526c8860c2795a69e.zip |
Always use the same argument name in Input.do_command.
-rw-r--r-- | poezio/windows/inputs.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |