MCPcopy Index your code
hub / github.com/coder/ghostty-web / MockKeyboardEvent

Interface MockKeyboardEvent

lib/input-handler.test.ts:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10// Mock DOM types for testing
11interface MockKeyboardEvent {
12 code: string;
13 key: string;
14 ctrlKey: boolean;
15 altKey: boolean;
16 shiftKey: boolean;
17 metaKey: boolean;
18 repeat: boolean;
19 preventDefault: () => void;
20 stopPropagation: () => void;
21}
22
23interface MockClipboardEvent {
24 type: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…