Skip to main content

Module TerminalLifecycle

Module TerminalLifecycle 

Source
Expand description

Cocoon → terminal.sendText / terminal.show / terminal.hide / terminal.dispose notifications.

Two concerns per invocation:

  1. Relay sky://terminal/<suffix> to the renderer so the xterm panel can show/hide / print text / remove itself.
  2. Drive the underlying PTY via VineHost::SpawnSendTextToTerminal or VineHost::SpawnDisposeTerminal so the OS process sees the text / receives SIGHUP on dispose. (No-op for embedders without terminal support.)

Functions§

TerminalLifecycle