Spoons
Spoons copied to clipboard
ClipboardTools has error

This appears to be fixed. The current version of that block of text is:
-- Internal method: deduplicate the given list, and restrict it to the history size limit
function obj:dedupe_and_resize(list)
local res={}
local hashes={}
for i,v in ipairs(list) do
if #res < self.hist_size then
local hash=hashfn(v.content)
if (not self.deduplicate) or (not hashes[hash]) then
table.insert(res, v)
hashes[hash]=true
end
end
end
return res
end