diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-27 20:51:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-27 20:51:18 -0700 |
commit | 1e6b9e25aaa0a9012b72ffe013bd4961a04cea5d (patch) | |
tree | af806bde2b273f030ac1f0da5359b91ddd707a17 | |
parent | 4ce716fe44a25c8cf391c91c755eaed2ea69c967 (diff) | |
download | lines.love-1e6b9e25aaa0a9012b72ffe013bd4961a04cea5d.tar.gz |
copying to clipboard can never scroll
-rw-r--r-- | edit.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index a9ada55..9e32c8c 100644 --- a/edit.lua +++ b/edit.lua @@ -382,7 +382,6 @@ function edit.keychord_pressed(State, chord, key) end -- clipboard elseif chord == 'C-c' then - for _,line_cache in ipairs(State.line_cache) do line_cache.starty = nil end -- just in case we scroll local s = Text.selection(State) if s then App.setClipboardText(s) |