From 1e6b9e25aaa0a9012b72ffe013bd4961a04cea5d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 27 Jul 2022 20:51:18 -0700 Subject: [PATCH] copying to clipboard can never scroll --- edit.lua | 1 - 1 file changed, 1 deletion(-) 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)