Fix movement keys, finish Kilo chapter 3

This commit is contained in:
Timothy Warren 2021-03-30 15:47:42 -04:00
parent b0c6d1b369
commit b7e4463f01

View File

@ -38,7 +38,7 @@ func (e *editor) ProcessKeypress() bool {
}
if ch == '\x1b' {
str = string('\x1b') + parseEscapeSequence()
str = parseEscapeSequence()
} else {
str = string(ch)
}