Skip to main content

spawn_pty_process

Function spawn_pty_process 

Source
pub fn spawn_pty_process(
    cwd: Option<PathBuf>,
    cols: u16,
    rows: u16,
) -> Result<PaneProcess>
Expand description

Spawn a PTY shell as a PaneProcess.

The shell’s raw output bytes flow directly through PaneProcess.stdout_rx to the frame loop, which feeds them via PanePerformer (VTE parser) into the pane cell buffer. Input is routed from the frame loop to the PTY stdin.

This avoids double VTE parsing: only PanePerformer parses the PTY output.