A minimalistic digital logic simulator · By Sebastian Lague
I found a bug where the sub points of wiring don't get copied over properly. It does not happen when you don't hold shift, so that's a workaround for now (and perhaps a starting point to trace the bug).
Thanks for the report!