Add a focus-tab remote command

Fixes #394
This commit is contained in:
Kovid Goyal
2018-03-15 17:41:49 +05:30
parent bbfd463357
commit 64b48945d4
3 changed files with 41 additions and 4 deletions

View File

@@ -57,9 +57,14 @@ Let's change the title of the current tab:
kitty @ set-tab-title Master Tab
Now lets switch to the newly opened tab.
Now lets switch to the newly opened tab:
kitty @ focus-window --match title:New
kitty @ focus-tab --match title:New
Similarly, to focus the previously opened output window (which will also switch
back to the old tab, automatically):
kitty @ focus-window --match title:Output
You can get a listing of available tabs and windows, by running: