Expand description
§Output channel handlers
vscode.window.createOutputChannel(...) flows in from Cocoon
via gRPC; the WindServiceHandlers dispatcher (mod.rs:648-663)
invokes one of these five free functions which emit a
sky://output/* Tauri event for the renderer to mount /
mutate / focus the channel panel.
Layout (one export per file, file name = identity):
OutputCreate::OutputCreateOutputAppend::OutputAppendOutputAppendLine::OutputAppendLineOutputClear::OutputClearOutputShow::OutputShow
Modules§
- Output
Append - Append text to an output channel. Emits the
sky://output/appendTauri event with{channel, text}. Sky’s output-channel panel mounts the text into its scroll buffer. - Output
Append Line - Append a line (text +
\n) to an output channel. Twin ofOutputAppendwith the newline pre-applied so the renderer doesn’t need its own line-mode toggle. - Output
Clear - Clear an output channel. Emits
sky://output/clearwith the channel name; Sky drops the channel’s scroll buffer. - Output
Create - Create a named output channel. Returns the channel name as
its handle. The Sky/frontend listens for
sky://output/createand instantiates the channel panel; we just acknowledge. - Output
Show - Show an output channel panel. Emits
sky://output/show; Sky brings the panel to the front and focuses it.