newt-tui 0.8.0

Newt-Agent TUI surfaces (ratatui): code mode + pilot mode
1
2
3
4
5
6
7
8
9
10
11
12
use super::tenacity_indicator;
use newt_core::Tenacity;

#[test]
fn shows_only_when_raised_above_normal() {
    // The default adds no clutter to the ready line.
    assert_eq!(tenacity_indicator(Tenacity::Normal), "");
    assert_eq!(
        tenacity_indicator(Tenacity::Relentless),
        " ยท tenacity: relentless"
    );
}