Skip to main content

PaneSource

Trait PaneSource 

Source
pub trait PaneSource: Send + Sync {
    // Required method
    fn capture(&self, session: &str) -> Result<Vec<String>>;
}
Expand description

Lookup contract: given a tmux session name, return its scrollback as a list of lines. Implementations may bound the depth — the production tmux variant takes the last 3000 lines via capture-pane -S -3000, matching teamctl logs.

Required Methods§

Source

fn capture(&self, session: &str) -> Result<Vec<String>>

Implementors§