Set maxsplit to 0 on :tab-take
This commit is contained in:
parent
93eb05598e
commit
1b618b2501
@ -485,7 +485,8 @@ class CommandDispatcher:
|
|||||||
new_tabbed_browser.widget.set_tab_pinned(newtab, curtab.data.pinned)
|
new_tabbed_browser.widget.set_tab_pinned(newtab, curtab.data.pinned)
|
||||||
return newtab
|
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)
|
@cmdutils.argument('index', completion=miscmodels.other_buffer)
|
||||||
def tab_take(self, index):
|
def tab_take(self, index):
|
||||||
"""Take a tab from another window.
|
"""Take a tab from another window.
|
||||||
|
Loading…
Reference in New Issue
Block a user