pub const S2C_EXITED: u8 = 0x08;Expand description
The PTY’s subprocess has exited but the terminal state is retained. Clients can still read/scroll the last frame. Send C2S_CLOSE to dismiss. Wire: [0x08][pty_id:2][exit_status:4] exit_status: WEXITSTATUS if normal exit, negative signal number if signalled, EXIT_STATUS_UNKNOWN if not yet collected.