Expand description
TUI rendering layer built on ratatui + crossterm.
Houses:
arrow_select: raw-mode arrow-key selector (pre-existing)list_view: Inline Viewport renderer forgw list(new)style: shared ratatuiStylepalette mirroringcrate::console
Simple commands with pure text output continue to use crate::console.
ratatui is reserved for commands that need declarative/progressive rendering.
Re-exports§
pub use arrow_select::arrow_select;
Modules§
- arrow_
select - Arrow-key TUI selector for interactive worktree selection.
- list_
view gw listInline Viewport view.- style
- Shared color palette for ratatui-based views.
Functions§
- install_
panic_ hook - Install a panic hook that restores the terminal state before the default panic handler prints. Safe to call once at process start.
- stdout_
is_ tty - Whether stdout is attached to a terminal. Commands should fall back to static rendering when this returns false (pipes, redirects, CI).