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

Function getWorkspaceSwitchAccelerator

emain/emain-menu.ts:56–60  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

54 },
55 ];
56 function getWorkspaceSwitchAccelerator(i: number): string {
57 if (i < 9) {
58 return unamePlatform == "darwin" ? `Command+Control+${i + 1}` : `Alt+Control+${i + 1}`;
59 }
60 }
61 if (workspaceList?.length) {
62 workspaceMenu.push(
63 { type: "separator" },

Callers 1

getWorkspaceMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected