From 61845c335bfd087292248346361ac7a5315103aa Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 17 May 2022 22:05:00 -0700 Subject: [PATCH] . --- README.md | 1 + main.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4c4191..7c6ddf7 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,4 @@ Known issues: * Touchpads can drag the mouse pointer using a light touch or a heavy click. On Linux, drags using the light touch get interrupted when a key is pressed. You'll have to press down to drag. +* No support yet for Unicode graphemes spanning multiple codepoints. diff --git a/main.lua b/main.lua index ea6b470..9d5fdd8 100644 --- a/main.lua +++ b/main.lua @@ -42,7 +42,7 @@ Cursor_line = 1 -- ^cursor_pos = 2 -- ... -- ^cursor_pos past end of line is 15 -Cursor_pos = #Lines[Cursor_line].data+1 +Cursor_pos = #Lines[Cursor_line].data+1 -- in Unicode codepoints Screen_width, Screen_height, Screen_flags = 0, 0, nil