diff options
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua index bb48ba3..d5a332d 100644 --- a/main.lua +++ b/main.lua @@ -336,7 +336,7 @@ function App.keychord_pressed(chord) Text.insert_return() num_newlines = num_newlines+1 else - Text.insert_at_cursor(utf8.char(code)) + Text.insert_at_cursor(c) end end -- hack 1: if we have too many newlines we definitely need to scroll |