From bbfb834827a47195d1907674399ff18685be4fb9 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 13 Oct 2017 00:39:13 +0200 Subject: Stop /win at the first tab found --- poezio/core/commands.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'poezio') 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 -- cgit v1.2.3