Merge pull request #4206 from airodactyl/feature/support-multiple-words-tab-give-take
Support multiple words for :tab-take without quotes
This commit is contained in:
commit
59af280f5c
@ -55,6 +55,11 @@ Changed
|
|||||||
- Make qute:// pages work properly on Qt 5.11.2
|
- Make qute:// pages work properly on Qt 5.11.2
|
||||||
- The `content.autoplay` setting now supports URL patterns on Qt >= 5.11.
|
- The `content.autoplay` setting now supports URL patterns on Qt >= 5.11.
|
||||||
|
|
||||||
|
Fixed
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
- Error when passing a substring with spaces to `:tab-take`.
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
|
@ -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