pub struct PtyConfig {
pub dimensions: (u16, u16),
pub login_shell: bool,
pub env_mode: EnvMode,
}Expand description
Configuration for PTY spawning.
Fields§
§dimensions: (u16, u16)Terminal dimensions (cols, rows).
login_shell: boolWhether to use a login shell.
env_mode: EnvModeEnvironment variable handling.
Trait Implementations§
Source§impl From<&SessionConfig> for PtyConfig
impl From<&SessionConfig> for PtyConfig
Source§fn from(config: &SessionConfig) -> Self
fn from(config: &SessionConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PtyConfig
impl RefUnwindSafe for PtyConfig
impl Send for PtyConfig
impl Sync for PtyConfig
impl Unpin for PtyConfig
impl UnwindSafe for PtyConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more