summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.go b/app.go
index 57c12de..272cd40 100644
--- a/app.go
+++ b/app.go
@@ -320,7 +320,8 @@ func (app *App) handleMouseEvent(ev *tcell.EventMouse) {
func (app *App) handleKeyEvent(ev *tcell.EventKey) {
switch ev.Key() {
case tcell.KeyCtrlC:
- app.win.Exit()
+ app.win.InputClear()
+ app.typing()
case tcell.KeyCtrlL:
app.win.Resize()
case tcell.KeyCtrlU, tcell.KeyPgUp: