commit 44574b6

delthas  ·  2021-07-11 21:41:27 +0000 UTC
parent 4ce6610
Fix backspace support on some terminals

Namely the emulated Jetbrains Golang debugging PTY. :)
1 files changed,  +1, -1
M app.go
M app.go
+1, -1
1@@ -377,7 +377,7 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) {
2 		} else {
3 			app.win.InputEnd()
4 		}
5-	case tcell.KeyBackspace2:
6+	case tcell.KeyBackspace, tcell.KeyBackspace2:
7 		ok := app.win.InputBackspace()
8 		if ok {
9 			app.typing()