MCPcopy Create free account
hub / github.com/chieapp/chie / showWindow

Method showWindow

src/model/window-store.ts:67–71  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

65
66 // Call getWindow and show, it is used most commonly so add a method for it.
67 showWindow(id: string) {
68 const win = this.getOrCreateWindow(id);
69 win.window.activate();
70 return win;
71 }
72
73 closeWindow(id: string) {
74 this.#windows[id]?.window.close();

Callers 3

deserializeMethod · 0.95
showChatWindowMethod · 0.80
showNamedWindowMethod · 0.80

Calls 1

getOrCreateWindowMethod · 0.95

Tested by

no test coverage detected