add a link to select_tab in goto_tab docs

This commit is contained in:
Kovid Goyal
2024-03-29 10:14:06 +05:30
parent a695b4ebe1
commit 9ac4e6b64e

View File

@@ -2171,7 +2171,9 @@ class Boss:
@ac('tab', '''
Go to the specified tab, by number, starting with 1
Zero and negative numbers go to previously active tabs
Zero and negative numbers go to previously active tabs.
Use the :ac:`select_tab` action to interactively select a tab
to go to.
''')
def goto_tab(self, tab_num: int) -> None:
tm = self.active_tab_manager