Fix movement keys, finish Kilo chapter 3
This commit is contained in:
parent
b0c6d1b369
commit
b7e4463f01
@ -38,7 +38,7 @@ func (e *editor) ProcessKeypress() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ch == '\x1b' {
|
if ch == '\x1b' {
|
||||||
str = string('\x1b') + parseEscapeSequence()
|
str = parseEscapeSequence()
|
||||||
} else {
|
} else {
|
||||||
str = string(ch)
|
str = string(ch)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user