INNER CODE UNIT · Rust

get_termios

psmux/psmux · crates/portable-pty-psmux/src/lib.rs:132

    fn get_termios(&self) -> Option<nix::sys::termios::Termios> {
        None
    }
}
impl_downcast!(MasterPty);

#[cfg(all(test, not(windows)))]
mod tests {
    use super::*;

    #[test]
    fn non_conpty_master_reports_no_passthrough_mode() {
        let pair = native_pty_system().openpty(PtySize::default()).unwrap();

        assert_eq!(pair.master.conpty_passthrough_mode(), None);
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…