Reference
terminal.output
A terminal process produces standard output or standard error.
This focused page is derived from the mechanically checked full event inventory.
Subscribe
const unsubscribe = Arcane.events.on('terminal.output', function handleTerminalOutput(data) {
// Read only the documented fields from data here.
console.info('Received terminal.output.');
});
// Stop listening when this page no longer needs the event.
function stopListeningForTerminalOutput() {
unsubscribe();
}
globalThis.addEventListener('pagehide', stopListeningForTerminalOutput, {once: true});
Delivery
Live, future-only correlated session stream.
Hosts
Core-backed Arcane Terminal and Android Arcane Terminal hosts.
When it fires
A terminal process produces standard output or standard error.
Event data
sessionId identifies the terminal session; stream is stdout or stderr; data is a UTF-8 text chunk and is not guaranteed to be a complete line.