4 ms·
Wouldn't using XOR trigger a save on Alt + S? Unless I'm missing something with why the meta portion should have the XOR here instead.
by zamadatix 6y ago
Wouldn't using XOR trigger a save on Alt + S? Unless I'm missing something with why the meta portion should have the XOR here instead.
- shkkmo 5y agoThe only place XOR could be used is to replace the OR. As you say, replacing the AND NOT with an XOR would supress Alt + s. Even replacing the OR with XOR is not obviously an improvement as it is not clear that we know what the correct behavior would be in the edge case where a keyboard event is emitted with both the control and command flags set.