mirror of
https://github.com/mrusme/neonmodem.git
synced 2025-01-03 14:56:41 -05:00
Fix #42, rm q
key for closing
Having the `q` key in addition to the `Esc` key for closing windows and quitting the app just adds unnecessary complexity and breaks the UX flow.
This commit is contained in:
parent
8d0e6a9e5b
commit
13e02f85ae
4
ui/ui.go
4
ui/ui.go
@ -43,8 +43,8 @@ var DefaultKeyMap = KeyMap{
|
|||||||
key.WithHelp("C-t", "Forum selector"),
|
key.WithHelp("C-t", "Forum selector"),
|
||||||
),
|
),
|
||||||
Close: key.NewBinding(
|
Close: key.NewBinding(
|
||||||
key.WithKeys("q", "esc"),
|
key.WithKeys("esc"),
|
||||||
key.WithHelp("q/esc", "close"),
|
key.WithHelp("esc", "close"),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user