polypty 0.1.0

Agent-aware terminal multiplexer with sidebar tabs and nested panes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::Tab;

impl Tab {
    pub fn try_reap(&mut self) -> bool {
        let reaped = self.transport.try_reap();
        if self.transport.child_exited() {
            self.alive = false;
        }
        reaped
    }

    pub fn kill(&mut self) {
        self.transport.kill();
        self.alive = false;
    }
}