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

Function resetChord

frontend/app/store/keymodel.ts:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43let chordTimeout: NodeJS.Timeout = null;
44
45function resetChord() {
46 activeChord = null;
47 if (chordTimeout) {
48 clearTimeout(chordTimeout);
49 chordTimeout = null;
50 }
51}
52
53function setActiveChord(activeChordArg: string) {
54 getApi().setKeyboardChordMode();

Callers 2

setActiveChordFunction · 0.85
appHandleKeyDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected