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

Method setActiveTab

emain/emain-window.ts:393–403  ·  view source on GitHub ↗
(tabId: string, setInBackend: boolean, primaryStartupTab = false)

Source from the content-addressed store, hash-verified

391 }
392
393 async setActiveTab(tabId: string, setInBackend: boolean, primaryStartupTab = false) {
394 console.log(
395 "setActiveTab",
396 tabId,
397 this.waveWindowId,
398 this.workspaceId,
399 setInBackend,
400 primaryStartupTab ? "(primary startup)" : ""
401 );
402 await this._queueActionInternal({ op: "switchtab", tabId, setInBackend, primaryStartupTab });
403 }
404
405 private async initializeTab(tabView: WaveTabView, primaryStartupTab: boolean) {
406 const clientId = await getClientId();

Callers 3

createBrowserWindowFunction · 0.95
emain-window.tsFile · 0.45
handleWSEventFunction · 0.45

Calls 1

_queueActionInternalMethod · 0.95

Tested by

no test coverage detected