diff options
author | delthas <delthas@dille.cc> | 2022-02-13 14:21:59 +0100 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-02-13 14:21:59 +0100 |
commit | 31f90336bed276b0ff9e71647a030c11fa838294 (patch) | |
tree | 0495b6d6698131a078fb0aaa703e5606aae03318 /app.go | |
parent | /query: only send MONITOR, ... if the buffer is new (diff) |
Make CTRL+C alternatively clear the input and set '/quit' in it
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -448,6 +448,8 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) { case tcell.KeyCtrlC: if app.win.InputClear() { app.typing() + } else { + app.win.InputSet("/quit") } case tcell.KeyCtrlL: app.win.Resize() |