mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
🐛 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
Block a user