1
0
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:
makeworld 2020-07-26 11:21:33 -04:00
parent 28b2235ddb
commit 481e2797f7

View File

@ -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()) {