macos: fix goto last tab

This commit is contained in:
Mitchell Hashimoto
2024-10-24 19:56:52 -07:00
parent 553687b5e2
commit a651dbf3bf
2 changed files with 7 additions and 6 deletions

View File

@@ -297,7 +297,8 @@ pub const Action = union(enum) {
/// Go to the last tab (the one with the highest index)
last_tab: void,
/// Go to the tab with the specific number, 1-indexed.
/// Go to the tab with the specific number, 1-indexed. If the tab number
/// is higher than the number of tabs, this will go to the last tab.
goto_tab: usize,
/// Toggle the tab overview.