pub const C2S_RESTART: u8 = 0x07;
Restart an exited PTY: [0x07][pty_id:2] Server spawns a new shell in the same PTY slot, preserving the pty_id.