mirror of https://github.com/liamg/aminal.git
fix tab autocomplete on zsh
This commit is contained in:
parent
f0d22e193a
commit
1d988f1189
|
@ -203,17 +203,9 @@ func (gui *GUI) key(w *glfw.Window, key glfw.Key, scancode int, action glfw.Acti
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
case glfw.KeyTab:
|
case glfw.KeyTab:
|
||||||
if gui.terminal.IsApplicationCursorKeysModeEnabled() {
|
|
||||||
gui.terminal.Write([]byte{
|
|
||||||
0x1b,
|
|
||||||
'O',
|
|
||||||
'I',
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
gui.terminal.Write([]byte{
|
gui.terminal.Write([]byte{
|
||||||
0x09,
|
0x09,
|
||||||
})
|
})
|
||||||
}
|
|
||||||
case glfw.KeyEnter:
|
case glfw.KeyEnter:
|
||||||
gui.terminal.Write([]byte{
|
gui.terminal.Write([]byte{
|
||||||
0x0d,
|
0x0d,
|
||||||
|
|
Loading…
Reference in New Issue