From b7e4463f01720dc2d6355c2ab2688447d04a79b5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 30 Mar 2021 15:47:42 -0400 Subject: [PATCH] Fix movement keys, finish Kilo chapter 3 --- editor/editor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor.go b/editor/editor.go index b208146..a43cabc 100644 --- a/editor/editor.go +++ b/editor/editor.go @@ -38,7 +38,7 @@ func (e *editor) ProcessKeypress() bool { } if ch == '\x1b' { - str = string('\x1b') + parseEscapeSequence() + str = parseEscapeSequence() } else { str = string(ch) }