1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-11-03 04:27:16 -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:
マリウス 2024-07-31 16:11:37 -05:00
parent 8d0e6a9e5b
commit 13e02f85ae
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -43,8 +43,8 @@ var DefaultKeyMap = KeyMap{
key.WithHelp("C-t", "Forum selector"),
),
Close: key.NewBinding(
key.WithKeys("q", "esc"),
key.WithHelp("q/esc", "close"),
key.WithKeys("esc"),
key.WithHelp("esc", "close"),
),
}