Commit 085a09b

Eric Bower  ·  2026-03-03 22:05:51 -0500 EST
parent edab4d6
fix(tui): revert 'q' to go back

This is conflicting with our text input boxes so I'm reverting for now
1 files changed,  +2, -2
+2, -2
......@@ -80,7 +80,7 @@ func (app *App) CaptureEvent(ev vaxis.Event) (vxfw.Command, error) {
8080 if msg.Matches('c', vaxis.ModCtrl) {
8181 return vxfw.QuitCmd{}, nil
8282 }
83- if msg.Matches(vaxis.KeyEsc) || msg.Matches('q') {
83+ if msg.Matches(vaxis.KeyEsc) {
8484 if app.page == "signup" || app.page == HOME {
8585 return nil, nil
8686 }
......@@ -167,7 +167,7 @@ func (app *App) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
167167 wdgt, ok := cur.(WidgetFooter)
168168 segs := []Shortcut{
169169 {Shortcut: "^c", Text: "quit"},
170- {Shortcut: "esc/q", Text: "prev page"},
170+ {Shortcut: "esc", Text: "prev page"},
171171 }
172172 if ok {
173173 segs = append(segs, wdgt.Footer()...)