diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-02 19:25:33 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-02 19:25:33 -0700 |
commit | 15c54f43836ba5f00ff8df39c34a7aec16284b14 (patch) | |
tree | 5027a21da6e5e51e1bb8a9c4576c7a647d746747 /text.lua | |
parent | 9121a263a69571830425ee2f8c2b5a96e3e26f6c (diff) | |
download | text.love-15c54f43836ba5f00ff8df39c34a7aec16284b14.tar.gz |
rename
Diffstat (limited to 'text.lua')
-rw-r--r-- | text.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text.lua b/text.lua index 7cc89f5..e8b4b24 100644 --- a/text.lua +++ b/text.lua @@ -1437,8 +1437,8 @@ function Text.keychord_pressed(chord) elseif chord == 'M-v' then local before_line = Cursor1.line local before = snapshot(before_line) - local s = App.getClipboardText() - for _,code in utf8.codes(s) do + local clipboard_data = App.getClipboardText() + for _,code in utf8.codes(clipboard_data) do local c = utf8.char(code) if c == '\n' then Text.insert_return() |