diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-05 10:30:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-05 10:30:23 -0700 |
commit | a70d7ba8bc8a7aeff6bb0004f73eb5620dcf8dca (patch) | |
tree | caeffb315f824be944ce96d463fd0163239860ae | |
parent | d043745ccdfe55cb5d2cddb2bbff61406245c6f0 (diff) | |
download | lines.love-a70d7ba8bc8a7aeff6bb0004f73eb5620dcf8dca.tar.gz |
.
-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 |