summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/windows/inputs.py4
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