- commit
- 085a09b
- parent
- edab4d6
- author
- Eric Bower
- date
- 2026-03-03 22:05:51 -0500 EST
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
1@@ -80,7 +80,7 @@ func (app *App) CaptureEvent(ev vaxis.Event) (vxfw.Command, error) {
2 if msg.Matches('c', vaxis.ModCtrl) {
3 return vxfw.QuitCmd{}, nil
4 }
5- if msg.Matches(vaxis.KeyEsc) || msg.Matches('q') {
6+ if msg.Matches(vaxis.KeyEsc) {
7 if app.page == "signup" || app.page == HOME {
8 return nil, nil
9 }
10@@ -167,7 +167,7 @@ func (app *App) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
11 wdgt, ok := cur.(WidgetFooter)
12 segs := []Shortcut{
13 {Shortcut: "^c", Text: "quit"},
14- {Shortcut: "esc/q", Text: "prev page"},
15+ {Shortcut: "esc", Text: "prev page"},
16 }
17 if ok {
18 segs = append(segs, wdgt.Footer()...)