Skip to content

Commit

Permalink
fix toggle controls page
Browse files Browse the repository at this point in the history
  • Loading branch information
somnek committed May 30, 2023
1 parent 6fecc16 commit f7bb98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
m.logs = ""
case "?": // controls page
if m.page == 0 {
if m.page != 2 {
m.page = 2
} else {
m.page = 0
Expand Down

0 comments on commit f7bb98e

Please sign in to comment.