Skip to content

Commit

Permalink
Fix tab navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
paololazzari committed Oct 10, 2023
1 parent 81aefc8 commit 8c0c2fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (ui *UI) configOptionsInput() {
case tcell.KeyTab:
ui.App.SetFocus(ui.ArgumentsInput)
case tcell.KeyBacktab:
ui.App.SetFocus(ui.FileOptionsText)
ui.App.SetFocus(ui.FileOptionsTreeView)
case tcell.KeyEnter:
ui.ActiveInput = &ui.OptionsInput
ui.App.SetFocus(ui.OutputView)
Expand Down Expand Up @@ -499,7 +499,7 @@ func (ui *UI) InitUI() error {
ui.configFlex()

ui.App.SetRoot(ui.Flex, true).
SetFocus(ui.ArgumentsInput)
SetFocus(ui.OptionsInput)

return nil
}
Expand Down

0 comments on commit 8c0c2fd

Please sign in to comment.