Since we're modifying the clipboard, actually makes way more sense to use this hash.

This commit is contained in:
Adam Harrison 2021-08-10 21:29:33 -04:00
parent 71e62ce84f
commit 255c45b30b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ local function cut_or_copy(delete)
end end
end end
if #doc().cursor_clipboard > 1 then if #doc().cursor_clipboard > 1 then
doc().cursor_clipboard["hash"] = system.hash(system.get_clipboard()) doc().cursor_clipboard["hash"] = system.hash(full_text)
end end
system.set_clipboard(full_text) system.set_clipboard(full_text)
end end