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
17
use crate::tab::environment::{child_terminal_environment, selected_shell};

#[test]
fn child_terminal_capabilities_are_stable() {
    assert_eq!(
        child_terminal_environment(),
        [("TERM", "xterm-256color"), ("COLORTERM", "truecolor")]
    );
}

#[test]
fn configured_shell_wins_over_environment_default() {
    assert_eq!(
        selected_shell(Some("/bin/custom-shell")),
        "/bin/custom-shell"
    );
}