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

Function handleCmdN

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

Source from the content-addressed store, hash-verified

376}
377
378async function handleCmdN() {
379 const blockDef = getDefaultNewBlockDef();
380 await createBlock(blockDef);
381}
382
383async function handleSplitHorizontal(position: "before" | "after") {
384 const layoutModel = getLayoutModelForStaticTab();

Callers 1

registerGlobalKeysFunction · 0.85

Calls 2

createBlockFunction · 0.90
getDefaultNewBlockDefFunction · 0.85

Tested by

no test coverage detected