cornichon 0.1.0

A composable Rust library for terminal-UI menu patterns — slash-command palettes, permission prompts, project pickers, keyboard-shortcut modals — themed after Claude Code, Codex, and Grok CLI captures.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! ratatui adapter — registers `Widget` impls on `&Menu` for each menu type.
//!
//! Consumers don't need to import from this module directly: they call
//! `frame.render_widget(&menu, area)` and the appropriate impl runs.
//! This module exists so that the rendering logic can be unit-tested in
//! isolation against a fresh `Buffer`.

pub mod choice;
pub mod common;
pub mod forms;
pub mod picker;
pub mod select;
pub mod shortcuts;
pub mod slash;
pub mod spinner;