Skip to content

Playbooks for g

Story-style workflows—solo, team, and on-call. Jump into the full Use cases page anytime.

ui::inline

Mode 4 — inline (non-fullscreen) interactive prompts.

auto-generated This page is built from //! comments in the Rust source. Edit the source and run npm run docs:extract to update it.

Mode 4 — inline (non-fullscreen) interactive prompts.

This folder is the reusable inline kit. Prompts render into the normal terminal scroll buffer (no alternate screen) and stay in history. The shared machinery lives in:

  • [runtime] — the TTY guard, the static [runtime::header], and the raw-mode key loop [runtime::run_raw].
  • [widgets] — option/checkbox row rendering and the in-place [widgets::redraw_rows].

Each prompt below prints its header + initial body, then hands the key loop to run_raw — so the navigation logic reads top-to-bottom with no enable/disable-raw-mode bookkeeping.

Source: src/ui/inline/mod.rs