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

Function registerBuilderGlobalKeys

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

Source from the content-addressed store, hash-verified

766}
767
768function registerBuilderGlobalKeys() {
769 globalKeyMap.set("Cmd:w", () => {
770 getApi().closeBuilderWindow();
771 return true;
772 });
773 const allKeys = Array.from(globalKeyMap.keys());
774 getApi().registerGlobalWebviewKeys(allKeys);
775}
776
777function getAllGlobalKeyBindings(): string[] {
778 const allKeys = Array.from(globalKeyMap.keys());

Callers 1

initBuilderFunction · 0.90

Calls 2

getApiFunction · 0.90
setMethod · 0.80

Tested by

no test coverage detected