diff options
-rw-r--r-- | poezio/core/commands.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index e31d8e59..5a28182b 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -218,6 +218,9 @@ class CommandCore: for tab_name in tab.matching_names(): if tab_name[1] and name in tab_name[1].lower(): match = tab + break + if match: + break if match is None: self.core.previous_tab_nb = prev_nb return |