Update tab_focus docstring
This commit is contained in:
parent
8a127f2839
commit
d30da4f905
@ -903,11 +903,13 @@ class CommandDispatcher:
|
|||||||
"""Select the tab given as argument/[count].
|
"""Select the tab given as argument/[count].
|
||||||
|
|
||||||
If neither count nor index are given, it behaves like tab-next.
|
If neither count nor index are given, it behaves like tab-next.
|
||||||
|
If both are given, use count.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
index: The tab index to focus, starting with 1. The special value
|
index: The tab index to focus, starting with 1. The special value
|
||||||
`last` focuses the last focused tab. Negative indexes
|
`last` focuses the last focused tab (regardless of count).
|
||||||
counts from the end, such that -1 is the last tab.
|
Negative indices count from the end, such that -1 is the
|
||||||
|
last tab.
|
||||||
count: The tab index to focus, starting with 1.
|
count: The tab index to focus, starting with 1.
|
||||||
"""
|
"""
|
||||||
if index == 'last':
|
if index == 'last':
|
||||||
|
Loading…
Reference in New Issue
Block a user