🐛 Catch Ctrl-C - fixes #51
This commit is contained in:
parent
28b2235ddb
commit
481e2797f7
|
@ -341,6 +341,9 @@ func Init() {
|
|||
case tcell.KeyCtrlQ:
|
||||
Stop()
|
||||
return nil
|
||||
case tcell.KeyCtrlC:
|
||||
Stop()
|
||||
return nil
|
||||
case tcell.KeyRune:
|
||||
// Regular key was sent
|
||||
switch string(event.Rune()) {
|
||||
|
|
Loading…
Reference in New Issue