mattgodbolt/jsbeeb

Copy 'key' gets stuck

Opened this issue · 4 comments

When using JSBeeb on OSX (Catalina 10.15.7), I'm finding that trying to use the Copy 'key' (via Right-Cmd F11) results in the copy key getting stuck. If I copy a single character, then it just keeps copying, as if I were holding the Copy key down. This continues until the maximum 5 lines have been copied, and the emulator starts beeping at me (until I hit escape). I think that the only problem is the latching on the key - everything else about the copy is working fine.

This happens for both Safari (Version 14.0 15610.1.28.1.9, 15610) and Firefox (82.0.2).

Just to note that this is still happening on the latest Firefox (106.0.1) on macOS Monterey (12.6)

Thanks for the updates. Unfortunately I have no way to test this and no expertise with Macs at all. Do you know anyone who might know anything?

Unfortunately, I'm not a JS expert :-/ If there's something useful I can look at in the Dev Tools, I'd be happy to do so, but I do not have experience chasing these things down.

I've just experimented with Firefox (105.0) on Ubuntu and COPY works fine there (as the 'End' key).

This might be related to the woes we have with caps lock on OS X (See #29). I now have a mac to test on so at least I can take a look!