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) }