Keyboard handlers: switch to tab with Up Arrow

This commit is contained in:
He4eT 2023-08-17 04:58:39 +03:00
commit bd1a89477b
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ export const attachKeyboardHandlers = (store) => {
store.actions.keepTab(store.getCurrentState().currentTab)
return
case 'f':
case 'ArrowUp':
store.actions.goToTab(store.getCurrentState().currentTab)
return
case 'r':

View file

@ -32,7 +32,7 @@
<button
id='buttonShow'
class='actionButton'
title='Switch to this tab (Press F)'
title='Switch to this tab (Press F or Up Arrow)'
>
Show
</button>