io

Diagnostic `nanook::tui::io`

Summary

terminal io failed: {0}

Help

the terminal stream reported an error; reconnect and retry

Details

When this fires

TuiError::Io in crates/nanook-tui/src/app.rs wraps any std::io::Error that bubbles up from the redraw loop in App::run. In practice that means a terminal.draw(..) call into crossterm/ratatui failed: stdout closed, the pty went away, or the resize/cursor codes errored mid-frame. The dashboard tears down raw mode and exits with this diagnostic instead of leaving a wedged terminal.

What to check

nanook tui needs a real tty. Detached sessions (nohup, systemd without TTYPath) will trip this. If the host disconnected mid-session, just reopen the dashboard, the agent keeps running.

nanook tui --transport auto