MCPcopy
hub / github.com/wavetermdev/waveterm / setControlShift

Function setControlShift

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

Source from the content-addressed store, hash-verified

76}
77
78function setControlShift() {
79 globalStore.set(simpleControlShiftAtom, true);
80 const disableDisplay = globalStore.get(getSettingsKeyAtom("app:disablectrlshiftdisplay"));
81 if (!disableDisplay) {
82 setTimeout(() => {
83 const simpleState = globalStore.get(simpleControlShiftAtom);
84 if (simpleState) {
85 globalStore.set(atoms.controlShiftDelayAtom, true);
86 }
87 }, 400);
88 }
89}
90
91function unsetControlShift() {
92 globalStore.set(simpleControlShiftAtom, false);

Calls 3

getSettingsKeyAtomFunction · 0.90
setMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected