polypty 0.1.0

Agent-aware terminal multiplexer with sidebar tabs and nested panes
Documentation
1
2
3
4
5
6
7
8
use super::super::compose_info;

#[test]
fn process_is_preferred() {
    let info = compose_info("", Some("/home/u/code"), Some("nvim"), false);
    assert_eq!(info.primary, "nvim");
    assert!(info.secondary.contains('~') || info.secondary.contains("code"));
}