Added in a hash check to the system clipboard.

This commit is contained in:
Adam Harrison
2021-08-10 21:25:40 -04:00
parent 3c8da0fc3f
commit 71e62ce84f
5 changed files with 40 additions and 20 deletions
+1
View File
@@ -173,6 +173,7 @@ function Doc:merge_cursors(idx)
if self.selections[i] == self.selections[j] and
self.selections[i+1] == self.selections[j+1] then
common.splice(self.selections, i, 4)
common.splice(self.cursor_clipboard, i, 1)
break
end
end