Commit bbfb8348 authored by mathieui's avatar mathieui

Stop /win at the first tab found

parent 66262089
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment