copying to clipboard can never scroll
This commit is contained in:
parent
4ce716fe44
commit
1e6b9e25aa
1
edit.lua
1
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)
|
||||
|
|
Loading…
Reference in New Issue