modal_io
Diagnostic `nanook::tui::modal_io`
Summary
terminal io error
Help
the modal needs a real interactive terminal : pipes and CI are not supported
Details
When this fires
ModalError::Io from crates/nanook-tui/src/modal.rs covers the smaller fullscreen modals (used by CLI subcommands like nanook discover or palette pickers) rather than the main dashboard. It surfaces when ScreenGuard::enter cannot flip the terminal into raw mode + alternate screen, or when event::read / term.draw fails partway through. You see the command bail out before any UI paints, with the diagnostic printed to stderr.
What to check
Pipes, redirected stdin/stdout, and CI runners don't provide a real tty. $TERM must be set and the terminal must support the alternate screen (xterm-like). Drop any script, expect, or nohup wrapper.