From 597c2dcf5ae6022632270824f63081246705a192 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Wed, 20 Feb 2019 06:46:18 +0000 Subject: [PATCH] fix backspace (#231) --- gui/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/input.go b/gui/input.go index 0357d62..eda87fd 100644 --- a/gui/input.go +++ b/gui/input.go @@ -219,7 +219,7 @@ func (gui *GUI) key(w *glfw.Window, key glfw.Key, scancode int, action glfw.Acti if modsPressed(mods, glfw.ModAlt) { gui.terminal.Write([]byte{0x17}) // ctrl-w/delete word } else { - gui.terminal.Write([]byte{0x8}) + gui.terminal.Write([]byte{0x7f}) //0x7f is DEL } case glfw.KeyUp: if modStr != "" {