Expand description
TUI rendering layer built on ratatui + crossterm.
Houses:
arrow_select: raw-mode arrow-key single-selectmulti_select: raw-mode arrow + space multi-select (forgw delete -i)list_view: Inline Viewport renderer forgw liststyle: 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.- multi_
select - Arrow/checkbox multi-select TUI used by
gw delete -i. - 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).