Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/github/hotkey
/ registerKeypress
Method
registerKeypress
src/sequence.ts:36–39 ·
view source on GitHub ↗
(event: KeyboardEvent)
Source
from the content-addressed store, hash-verified
34
}
35
36
registerKeypress(event: KeyboardEvent): void {
37
this._path = [...this._path, eventToHotkeyString(event)]
38
this.startTimer()
39
}
40
41
reset(): void {
42
this.killTimer()
Callers
1
keyDownHandler
Function · 0.80
Calls
2
startTimer
Method · 0.95
eventToHotkeyString
Function · 0.85
Tested by
no test coverage detected