pub trait PaneIo {
// Required methods
fn send_text(&self, session: &str, text: &str) -> Result<()>;
fn send_enter(&self, session: &str) -> Result<()>;
fn capture(&self, session: &str, lines: Option<usize>) -> Result<String>;
}Expand description
Minimal pane-IO abstraction used by paste_startup. A live impl
(TmuxPaneIo) shells out to tmux; tests provide a mock that
records calls and simulates capture output.