Set maxsplit to 0 on :tab-take

This commit is contained in:
Michael Hoang 2018-09-09 19:30:57 +10:00
parent 93eb05598e
commit 1b618b2501

View File

@ -485,7 +485,8 @@ class CommandDispatcher:
new_tabbed_browser.widget.set_tab_pinned(newtab, curtab.data.pinned)
return newtab
@cmdutils.register(instance='command-dispatcher', scope='window')
@cmdutils.register(instance='command-dispatcher', scope='window',
maxsplit=0)
@cmdutils.argument('index', completion=miscmodels.other_buffer)
def tab_take(self, index):
"""Take a tab from another window.