Expand description
PTY session management.
When the tui feature is enabled, the full PTY implementation is compiled
in from submodules. When disabled, a no-op PtyManager stub and shared
types are provided so callers compile without feature-gating every call.
Structs§
- PtyCommand
Request - PtyCommand
Result - PtyManager
- PtyPreview
Renderer - In-memory PTY preview renderer for inline live previews.
- PtySize
- Represents the size of the visible display area in the pty
Functions§
- is_
cargo_ command - Check if a command uses cargo, which requires exclusive file lock access
- is_
cargo_ command_ string - Check if a command string (potentially passed via shell -c) is a cargo command
- is_
development_ toolchain_ command - Resolve program path - if program doesn’t exist in PATH, return None to signal shell fallback. This allows the shell to find programs installed in user-specific directories.
Type Aliases§
- PtyOutput
Callback - Callback type for receiving streaming PTY output chunks