mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 07:45:38 +00:00
When the check whether the clipboard still holds what VectorCraft copied, or one of a paste's own reads, gets no answer within its 2 s, the read is kept. The paste then waits for that answer on its background thread, up to 10 s after the read was sent, instead of failing its other reads at once and pasting the internal clipboard. When the answer is what VectorCraft copied, or none comes, the paste takes the internal clipboard; otherwise the clipboard is read as a paste reads it, with that answer standing in for its read. An answer that came before the paste is dropped and the clipboard is read again.