diff options
Diffstat (limited to 'poezio/windows/inputs.py')
-rw-r--r-- | poezio/windows/inputs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index b48fe318..6b0bc798 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -725,7 +725,7 @@ class CommandInput(HistoryInput): HistoryInput.__init__(self) self.on_abort = on_abort self.on_success = on_success - if on_input is None: + if on_input is not None: self.on_input = on_input else: self.on_input = DEFAULT_ON_INPUT |