MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / isInputEvent

Function isInputEvent

frontend/util/keyutil.ts:177–186  ·  view source on GitHub ↗
(event: WaveKeyboardEvent)

Source from the content-addressed store, hash-verified

175]);
176
177function isInputEvent(event: WaveKeyboardEvent): boolean {
178 if (isCharacterKeyEvent(event)) {
179 return true;
180 }
181 for (let key of inputKeyMap.keys()) {
182 if (checkKeyPressed(event, key)) {
183 return true;
184 }
185 }
186}
187
188function checkKeyPressed(event: WaveKeyboardEvent, keyDescription: string): boolean {
189 let keyPress = parseKeyDescription(keyDescription);

Callers

nothing calls this directly

Calls 2

isCharacterKeyEventFunction · 0.70
checkKeyPressedFunction · 0.70

Tested by

no test coverage detected