diff --git a/src/curses/curses.go b/src/curses/curses.go index fc0fef20..71df2220 100644 --- a/src/curses/curses.go +++ b/src/curses/curses.go @@ -476,8 +476,12 @@ func GetChar() Event { }() switch _buf[0] { - case CtrlC, CtrlG, CtrlQ: + case CtrlC: return Event{CtrlC, 0, nil} + case CtrlG: + return Event{CtrlG, 0, nil} + case CtrlQ: + return Event{CtrlQ, 0, nil} case 127: return Event{CtrlH, 0, nil} case ESC: