MCPcopy
hub / github.com/wavetermdev/waveterm / notMod

Function notMod

frontend/util/keyutil.ts:130–132  ·  view source on GitHub ↗
(keyPressMod: boolean, eventMod: boolean)

Source from the content-addressed store, hash-verified

128}
129
130function notMod(keyPressMod: boolean, eventMod: boolean) {
131 return (keyPressMod && !eventMod) || (eventMod && !keyPressMod);
132}
133
134function isCharacterKeyEvent(event: WaveKeyboardEvent): boolean {
135 if (event.alt || event.meta || event.control) {

Callers 1

checkKeyPressedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected