MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / isAltGrChar

Function isAltGrChar

docs/components/editor.js:89–89  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

87
88 // AltGr emits a printable char while flagging Ctrl+Alt; real Ctrl+Alt shortcuts produce a letter/digit `key`.
89 const isAltGrChar = (e) => e.ctrlKey && e.altKey && e.key.length === 1 && !/^[A-Za-z0-9]$/.test(e.key);
90
91 // mutable state
92

Callers 1

createEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected