pub struct TerminalConfig {
pub shell: String,
pub cwd: PathBuf,
pub env: HashMap<String, String>,
pub cols: u16,
pub rows: u16,
pub scrollback_lines: usize,
}Expand description
What a terminal is spawned with.
Fields§
§shell: StringThe shell to run, e.g. /bin/zsh.
cwd: PathBuf§env: HashMap<String, String>The seat’s environment, exactly what its claude child gets.
cols: u16§rows: u16§scrollback_lines: usizeTrait Implementations§
Source§impl Clone for TerminalConfig
impl Clone for TerminalConfig
Auto Trait Implementations§
impl Freeze for TerminalConfig
impl RefUnwindSafe for TerminalConfig
impl Send for TerminalConfig
impl Sync for TerminalConfig
impl Unpin for TerminalConfig
impl UnsafeUnpin for TerminalConfig
impl UnwindSafe for TerminalConfig
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