From 1d988f1189018beae5d1539de5ff620c0dac7ac0 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Fri, 30 Nov 2018 22:19:45 +0000 Subject: [PATCH] fix tab autocomplete on zsh --- gui/input.go | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/gui/input.go b/gui/input.go index 3f886a8..ad82c6d 100644 --- a/gui/input.go +++ b/gui/input.go @@ -203,17 +203,9 @@ func (gui *GUI) key(w *glfw.Window, key glfw.Key, scancode int, action glfw.Acti }) } case glfw.KeyTab: - if gui.terminal.IsApplicationCursorKeysModeEnabled() { - gui.terminal.Write([]byte{ - 0x1b, - 'O', - 'I', - }) - } else { - gui.terminal.Write([]byte{ - 0x09, - }) - } + gui.terminal.Write([]byte{ + 0x09, + }) case glfw.KeyEnter: gui.terminal.Write([]byte{ 0x0d,