bots-garden/model-mellumpublic Fork
⑂ 123495e
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/model-mellum.git
git clone ssh://git@rickub.com/bots-garden/model-mellum.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

🛟 Updated.

k33g committed 2026-10-21T07:52:48+02:00 Browse files
123495e parent: fc31f44
modified agent.yaml +16 -2
@@ -32,14 +32,28 @@ previewLines: 10
3232
3333 # ─── Tools: the documentation, and saving on request ─────────────────────────
3434 yolo: true
35-bashTool: false
36-editTools: false
35+bashTool: true # change: 2026 10 21
36+editTools: true # change: 2026 10 21
3737 planTool: false
3838 askUserTool: false
3939 fetchContentTool: true
4040 saveAnswerTool: true
4141 skillsDir: no-skills
4242
43+docSearch:
44+ #searchDocs: true
45+ autoSearchDocs: true
46+ dirs: [docs]
47+ extensions: [.md]
48+ maxFileSize: 1MB
49+
50+# change: 2026 10 21
51+lsp:
52+ servers:
53+ - name: rust
54+ command: rust-analyzer
55+ extensions: [".rs"]
56+
4357 agentsMd:
4458 enabled: false
4559
@@ -32,14 +32,28 @@ previewLines: 10
32 32
33 # ─── Tools: the documentation, and saving on request ─────────────────────────33 # ─── Tools: the documentation, and saving on request ─────────────────────────
34 yolo: true34 yolo: true
35-bashTool: false35+bashTool: true # change: 2026 10 21
36-editTools: false36+editTools: true # change: 2026 10 21
37 planTool: false37 planTool: false
38 askUserTool: false38 askUserTool: false
39 fetchContentTool: true39 fetchContentTool: true
40 saveAnswerTool: true40 saveAnswerTool: true
41 skillsDir: no-skills41 skillsDir: no-skills
42 42
43+docSearch:
44+ #searchDocs: true
45+ autoSearchDocs: true
46+ dirs: [docs]
47+ extensions: [.md]
48+ maxFileSize: 1MB
49+
50+# change: 2026 10 21
51+lsp:
52+ servers:
53+ - name: rust
54+ command: rust-analyzer
55+ extensions: [".rs"]
56+
43 agentsMd:57 agentsMd:
44 enabled: false58 enabled: false
45 59
added docs/01-getting-started.md +58 -0
new file mode 100644
@@ -0,0 +1,58 @@
1+# Getting started with Ratatui
2+
3+Ratatui is a Rust library for building terminal user interfaces (TUIs). It draws widgets — blocks, paragraphs, lists, tables, gauges — into a buffer, and a backend (Crossterm by default) writes that buffer to the terminal. Ratatui does not read the keyboard itself: events come from the backend, here Crossterm, which Ratatui re-exports as `ratatui::crossterm`.
4+
5+## Create the project
6+
7+```sh
8+cargo new hello-tui
9+cd hello-tui
10+cargo add ratatui
11+```
12+
13+`cargo add ratatui` adds the current version (0.30 at the time of writing). The Crossterm backend is enabled by default, so there is nothing else to add: use `ratatui::crossterm` rather than a separate `crossterm` dependency, and the two versions can never disagree.
14+
15+## The smallest app
16+
17+Replace `src/main.rs` with:
18+
19+```rust
20+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
21+use ratatui::DefaultTerminal;
22+
23+fn main() -> std::io::Result<()> {
24+ let mut terminal = ratatui::init();
25+ let result = run(&mut terminal);
26+ ratatui::restore();
27+ result
28+}
29+
30+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
31+ loop {
32+ terminal.draw(|frame| {
33+ frame.render_widget("Hello, Ratatui! Press q to quit.", frame.area());
34+ })?;
35+ if let Event::Key(key) = event::read()? {
36+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
37+ return Ok(());
38+ }
39+ }
40+ }
41+}
42+```
43+
44+Run it with `cargo run`. The text fills the top-left of the terminal; `q` quits.
45+
46+## What init and restore do
47+
48+`ratatui::init()` switches the terminal to raw mode (keys arrive one by one, unechoed) and to the alternate screen (your shell's content comes back when the app ends), and installs a panic hook that restores the terminal if the app panics. `ratatui::restore()` undoes both. Always call `restore` before `main` returns, even on error — that is why the loop lives in its own `run` function whose result is returned after `restore`.
49+
50+## The draw loop
51+
52+`terminal.draw` takes a closure that receives a `Frame`. `frame.area()` is the whole terminal as a `Rect`; `frame.render_widget(widget, area)` draws a widget into a part of it. Ratatui redraws the whole UI every time: it keeps the previous buffer and only sends the cells that changed, so drawing everything each loop is cheap. A `&str` is itself a widget, which is why the smallest app can render a plain string.
53+
54+## Next steps
55+
56+- Split the screen into areas: see the layout tutorial.
57+- Draw borders, titles and wrapped text: see the blocks and paragraphs tutorial.
58+- Keep state and react to keys: see the app state and events tutorial.
new file mode 100644
@@ -0,0 +1,58 @@
1+# Getting started with Ratatui
2+
3+Ratatui is a Rust library for building terminal user interfaces (TUIs). It draws widgets — blocks, paragraphs, lists, tables, gauges — into a buffer, and a backend (Crossterm by default) writes that buffer to the terminal. Ratatui does not read the keyboard itself: events come from the backend, here Crossterm, which Ratatui re-exports as `ratatui::crossterm`.
4+
5+## Create the project
6+
7+```sh
8+cargo new hello-tui
9+cd hello-tui
10+cargo add ratatui
11+```
12+
13+`cargo add ratatui` adds the current version (0.30 at the time of writing). The Crossterm backend is enabled by default, so there is nothing else to add: use `ratatui::crossterm` rather than a separate `crossterm` dependency, and the two versions can never disagree.
14+
15+## The smallest app
16+
17+Replace `src/main.rs` with:
18+
19+```rust
20+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
21+use ratatui::DefaultTerminal;
22+
23+fn main() -> std::io::Result<()> {
24+ let mut terminal = ratatui::init();
25+ let result = run(&mut terminal);
26+ ratatui::restore();
27+ result
28+}
29+
30+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
31+ loop {
32+ terminal.draw(|frame| {
33+ frame.render_widget("Hello, Ratatui! Press q to quit.", frame.area());
34+ })?;
35+ if let Event::Key(key) = event::read()? {
36+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
37+ return Ok(());
38+ }
39+ }
40+ }
41+}
42+```
43+
44+Run it with `cargo run`. The text fills the top-left of the terminal; `q` quits.
45+
46+## What init and restore do
47+
48+`ratatui::init()` switches the terminal to raw mode (keys arrive one by one, unechoed) and to the alternate screen (your shell's content comes back when the app ends), and installs a panic hook that restores the terminal if the app panics. `ratatui::restore()` undoes both. Always call `restore` before `main` returns, even on error — that is why the loop lives in its own `run` function whose result is returned after `restore`.
49+
50+## The draw loop
51+
52+`terminal.draw` takes a closure that receives a `Frame`. `frame.area()` is the whole terminal as a `Rect`; `frame.render_widget(widget, area)` draws a widget into a part of it. Ratatui redraws the whole UI every time: it keeps the previous buffer and only sends the cells that changed, so drawing everything each loop is cheap. A `&str` is itself a widget, which is why the smallest app can render a plain string.
53+
54+## Next steps
55+
56+- Split the screen into areas: see the layout tutorial.
57+- Draw borders, titles and wrapped text: see the blocks and paragraphs tutorial.
58+- Keep state and react to keys: see the app state and events tutorial.
added docs/02-layout.md +82 -0
new file mode 100644
@@ -0,0 +1,82 @@
1+# Splitting the screen with Layout
2+
3+A `Layout` cuts a `Rect` into smaller ones, vertically or horizontally, following a list of constraints. Layouts nest: split the screen into rows, then split a row into columns.
4+
5+## Constraints
6+
7+| Constraint | Meaning |
8+|---|---|
9+| `Constraint::Length(n)` | exactly `n` rows (or columns) |
10+| `Constraint::Min(n)` | at least `n`, takes what is left |
11+| `Constraint::Max(n)` | at most `n` |
12+| `Constraint::Percentage(p)` | `p` % of the space |
13+| `Constraint::Ratio(a, b)` | `a / b` of the space |
14+| `Constraint::Fill(w)` | shares the remaining space with the other `Fill`s, by weight `w` |
15+
16+## Header, body, footer
17+
18+`Layout::vertical` stacks areas from top to bottom; `areas` returns them as an array you can destructure, so the number of areas is checked at compile time.
19+
20+```rust
21+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
22+use ratatui::layout::{Constraint, Layout};
23+use ratatui::widgets::{Block, Paragraph};
24+use ratatui::{DefaultTerminal, Frame};
25+
26+fn main() -> std::io::Result<()> {
27+ let mut terminal = ratatui::init();
28+ let result = run(&mut terminal);
29+ ratatui::restore();
30+ result
31+}
32+
33+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
34+ loop {
35+ terminal.draw(draw)?;
36+ if let Event::Key(key) = event::read()? {
37+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
38+ return Ok(());
39+ }
40+ }
41+ }
42+}
43+
44+fn draw(frame: &mut Frame) {
45+ let [header, body, footer] = Layout::vertical([
46+ Constraint::Length(3),
47+ Constraint::Min(0),
48+ Constraint::Length(1),
49+ ])
50+ .areas(frame.area());
51+
52+ let [left, right] =
53+ Layout::horizontal([Constraint::Percentage(30), Constraint::Fill(1)]).areas(body);
54+
55+ frame.render_widget(Paragraph::new("My app").block(Block::bordered()), header);
56+ frame.render_widget(Block::bordered().title("Menu"), left);
57+ frame.render_widget(Block::bordered().title("Content"), right);
58+ frame.render_widget("q quit", footer);
59+}
60+```
61+
62+The header is always 3 rows high, the footer 1, and the body takes the rest. The body is then split into a menu (30 % of the width) and a content panel that fills the remaining space.
63+
64+## Spacing and margins
65+
66+`Layout::vertical([...]).spacing(1)` leaves one empty row between areas. `.margin(1)` keeps one cell free all around the area being split. `Block::bordered()` already takes one cell on each side for its border; draw the content in `block.inner(area)` to stay inside it.
67+
68+## Centering an area
69+
70+To center something, give the layout a single constraint and `Flex::Center`:
71+
72+```rust,ignore
73+use ratatui::layout::{Constraint, Flex, Layout, Rect};
74+
75+fn centered(area: Rect, width: u16, height: u16) -> Rect {
76+ let [area] = Layout::horizontal([Constraint::Length(width)]).flex(Flex::Center).areas(area);
77+ let [area] = Layout::vertical([Constraint::Length(height)]).flex(Flex::Center).areas(area);
78+ area
79+}
80+```
81+
82+The popups tutorial uses this to draw a dialog in the middle of the screen.
new file mode 100644
@@ -0,0 +1,82 @@
1+# Splitting the screen with Layout
2+
3+A `Layout` cuts a `Rect` into smaller ones, vertically or horizontally, following a list of constraints. Layouts nest: split the screen into rows, then split a row into columns.
4+
5+## Constraints
6+
7+| Constraint | Meaning |
8+|---|---|
9+| `Constraint::Length(n)` | exactly `n` rows (or columns) |
10+| `Constraint::Min(n)` | at least `n`, takes what is left |
11+| `Constraint::Max(n)` | at most `n` |
12+| `Constraint::Percentage(p)` | `p` % of the space |
13+| `Constraint::Ratio(a, b)` | `a / b` of the space |
14+| `Constraint::Fill(w)` | shares the remaining space with the other `Fill`s, by weight `w` |
15+
16+## Header, body, footer
17+
18+`Layout::vertical` stacks areas from top to bottom; `areas` returns them as an array you can destructure, so the number of areas is checked at compile time.
19+
20+```rust
21+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
22+use ratatui::layout::{Constraint, Layout};
23+use ratatui::widgets::{Block, Paragraph};
24+use ratatui::{DefaultTerminal, Frame};
25+
26+fn main() -> std::io::Result<()> {
27+ let mut terminal = ratatui::init();
28+ let result = run(&mut terminal);
29+ ratatui::restore();
30+ result
31+}
32+
33+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
34+ loop {
35+ terminal.draw(draw)?;
36+ if let Event::Key(key) = event::read()? {
37+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
38+ return Ok(());
39+ }
40+ }
41+ }
42+}
43+
44+fn draw(frame: &mut Frame) {
45+ let [header, body, footer] = Layout::vertical([
46+ Constraint::Length(3),
47+ Constraint::Min(0),
48+ Constraint::Length(1),
49+ ])
50+ .areas(frame.area());
51+
52+ let [left, right] =
53+ Layout::horizontal([Constraint::Percentage(30), Constraint::Fill(1)]).areas(body);
54+
55+ frame.render_widget(Paragraph::new("My app").block(Block::bordered()), header);
56+ frame.render_widget(Block::bordered().title("Menu"), left);
57+ frame.render_widget(Block::bordered().title("Content"), right);
58+ frame.render_widget("q quit", footer);
59+}
60+```
61+
62+The header is always 3 rows high, the footer 1, and the body takes the rest. The body is then split into a menu (30 % of the width) and a content panel that fills the remaining space.
63+
64+## Spacing and margins
65+
66+`Layout::vertical([...]).spacing(1)` leaves one empty row between areas. `.margin(1)` keeps one cell free all around the area being split. `Block::bordered()` already takes one cell on each side for its border; draw the content in `block.inner(area)` to stay inside it.
67+
68+## Centering an area
69+
70+To center something, give the layout a single constraint and `Flex::Center`:
71+
72+```rust,ignore
73+use ratatui::layout::{Constraint, Flex, Layout, Rect};
74+
75+fn centered(area: Rect, width: u16, height: u16) -> Rect {
76+ let [area] = Layout::horizontal([Constraint::Length(width)]).flex(Flex::Center).areas(area);
77+ let [area] = Layout::vertical([Constraint::Length(height)]).flex(Flex::Center).areas(area);
78+ area
79+}
80+```
81+
82+The popups tutorial uses this to draw a dialog in the middle of the screen.
added docs/03-blocks-and-paragraphs.md +63 -0
new file mode 100644
@@ -0,0 +1,63 @@
1+# Blocks, paragraphs and styled text
2+
3+## Block: borders and titles
4+
5+A `Block` draws a border and a title around an area. `Block::bordered()` is a block with all four borders; `.title("…")` sets the title; `.border_type(BorderType::Rounded)` rounds the corners. Most widgets take a block with `.block(...)` and draw inside it.
6+
7+## Paragraph: text that wraps
8+
9+`Paragraph::new(text)` draws text. Without wrapping, a long line is cut at the edge; `.wrap(Wrap { trim: true })` wraps it at word boundaries and trims the leading spaces of wrapped lines. `.scroll((y, 0))` scrolls it down by `y` lines, `.alignment(Alignment::Center)` centers it.
10+
11+## Styled text: Span, Line, Text
12+
13+Text is built from three types:
14+
15+- a `Span` is a piece of text with one style;
16+- a `Line` is a row of spans;
17+- a `Text` is several lines.
18+
19+The `Stylize` trait adds short methods to strings, spans and widgets: `"warning".red().bold()`, `"ok".green()`, `Paragraph::new("x").on_blue()`.
20+
21+```rust
22+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
23+use ratatui::style::Stylize;
24+use ratatui::text::{Line, Text};
25+use ratatui::widgets::{Block, BorderType, Paragraph, Wrap};
26+use ratatui::{DefaultTerminal, Frame};
27+
28+fn main() -> std::io::Result<()> {
29+ let mut terminal = ratatui::init();
30+ let result = run(&mut terminal);
31+ ratatui::restore();
32+ result
33+}
34+
35+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
36+ loop {
37+ terminal.draw(draw)?;
38+ if let Event::Key(key) = event::read()? {
39+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
40+ return Ok(());
41+ }
42+ }
43+ }
44+}
45+
46+fn draw(frame: &mut Frame) {
47+ let text = Text::from(vec![
48+ Line::from(vec!["Status: ".into(), "running".green().bold()]),
49+ Line::from(vec!["Errors: ".into(), "2".red()]),
50+ Line::from(""),
51+ Line::from("This long line is wrapped at word boundaries when the window is narrower than the text."),
52+ ]);
53+ let block = Block::bordered()
54+ .border_type(BorderType::Rounded)
55+ .title(" Report ".bold());
56+ let paragraph = Paragraph::new(text).block(block).wrap(Wrap { trim: true });
57+ frame.render_widget(paragraph, frame.area());
58+}
59+```
60+
61+## Colors
62+
63+`Stylize` covers the named colors (`.red()`, `.on_blue()` for the background, `.light_green()`…) and the modifiers (`.bold()`, `.italic()`, `.underlined()`, `.reversed()`, `.dim()`). For anything else, build a `Style`: `Style::new().fg(Color::Rgb(255, 128, 0)).add_modifier(Modifier::BOLD)`, then `.style(style)` on a widget or `Span::styled("text", style)`.
new file mode 100644
@@ -0,0 +1,63 @@
1+# Blocks, paragraphs and styled text
2+
3+## Block: borders and titles
4+
5+A `Block` draws a border and a title around an area. `Block::bordered()` is a block with all four borders; `.title("…")` sets the title; `.border_type(BorderType::Rounded)` rounds the corners. Most widgets take a block with `.block(...)` and draw inside it.
6+
7+## Paragraph: text that wraps
8+
9+`Paragraph::new(text)` draws text. Without wrapping, a long line is cut at the edge; `.wrap(Wrap { trim: true })` wraps it at word boundaries and trims the leading spaces of wrapped lines. `.scroll((y, 0))` scrolls it down by `y` lines, `.alignment(Alignment::Center)` centers it.
10+
11+## Styled text: Span, Line, Text
12+
13+Text is built from three types:
14+
15+- a `Span` is a piece of text with one style;
16+- a `Line` is a row of spans;
17+- a `Text` is several lines.
18+
19+The `Stylize` trait adds short methods to strings, spans and widgets: `"warning".red().bold()`, `"ok".green()`, `Paragraph::new("x").on_blue()`.
20+
21+```rust
22+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
23+use ratatui::style::Stylize;
24+use ratatui::text::{Line, Text};
25+use ratatui::widgets::{Block, BorderType, Paragraph, Wrap};
26+use ratatui::{DefaultTerminal, Frame};
27+
28+fn main() -> std::io::Result<()> {
29+ let mut terminal = ratatui::init();
30+ let result = run(&mut terminal);
31+ ratatui::restore();
32+ result
33+}
34+
35+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
36+ loop {
37+ terminal.draw(draw)?;
38+ if let Event::Key(key) = event::read()? {
39+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
40+ return Ok(());
41+ }
42+ }
43+ }
44+}
45+
46+fn draw(frame: &mut Frame) {
47+ let text = Text::from(vec![
48+ Line::from(vec!["Status: ".into(), "running".green().bold()]),
49+ Line::from(vec!["Errors: ".into(), "2".red()]),
50+ Line::from(""),
51+ Line::from("This long line is wrapped at word boundaries when the window is narrower than the text."),
52+ ]);
53+ let block = Block::bordered()
54+ .border_type(BorderType::Rounded)
55+ .title(" Report ".bold());
56+ let paragraph = Paragraph::new(text).block(block).wrap(Wrap { trim: true });
57+ frame.render_widget(paragraph, frame.area());
58+}
59+```
60+
61+## Colors
62+
63+`Stylize` covers the named colors (`.red()`, `.on_blue()` for the background, `.light_green()`…) and the modifiers (`.bold()`, `.italic()`, `.underlined()`, `.reversed()`, `.dim()`). For anything else, build a `Style`: `Style::new().fg(Color::Rgb(255, 128, 0)).add_modifier(Modifier::BOLD)`, then `.style(style)` on a widget or `Span::styled("text", style)`.
added docs/04-lists.md +60 -0
new file mode 100644
@@ -0,0 +1,60 @@
1+# Lists and selection
2+
3+A `List` shows items, one per row. To let the user move a selection, keep a `ListState` next to the list and render it with `render_stateful_widget`.
4+
5+## Keep the selection with ListState
6+
7+`ListState` remembers which item is selected and how far the list is scrolled. It lives in your app, not in the widget: the widget is rebuilt at each draw, the state survives between draws. `state.select_next()` and `state.select_previous()` move the selection; `state.select(Some(0))` selects the first item; `state.selected()` tells which one is selected.
8+
9+## Highlight the selected item
10+
11+`.highlight_style(...)` styles the selected row and `.highlight_symbol(">> ")` puts a marker before it. `HighlightSpacing::Always` keeps the room for the symbol even when nothing is selected, so the text does not jump.
12+
13+## A list you move through with the arrows
14+
15+```rust
16+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
17+use ratatui::style::Style;
18+use ratatui::widgets::{Block, HighlightSpacing, List, ListState};
19+use ratatui::DefaultTerminal;
20+
21+fn main() -> std::io::Result<()> {
22+ let mut terminal = ratatui::init();
23+ let result = run(&mut terminal);
24+ ratatui::restore();
25+ result
26+}
27+
28+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
29+ let books = ["Dune", "Neuromancer", "Hyperion", "Foundation", "Solaris"];
30+ let mut state = ListState::default();
31+ state.select(Some(0));
32+ loop {
33+ terminal.draw(|frame| {
34+ let list = List::new(books)
35+ .block(Block::bordered().title(" Books — ↑/↓ to move, q to quit "))
36+ .highlight_style(Style::new().black().on_yellow())
37+ .highlight_symbol(">> ")
38+ .highlight_spacing(HighlightSpacing::Always);
39+ frame.render_stateful_widget(list, frame.area(), &mut state);
40+ })?;
41+ if let Event::Key(key) = event::read()? {
42+ if key.kind != KeyEventKind::Press {
43+ continue;
44+ }
45+ match key.code {
46+ KeyCode::Char('q') => return Ok(()),
47+ KeyCode::Down | KeyCode::Char('j') => state.select_next(),
48+ KeyCode::Up | KeyCode::Char('k') => state.select_previous(),
49+ _ => {}
50+ }
51+ }
52+ }
53+}
54+```
55+
56+`select_next` stops at the last item; when the list is taller than the area, `ListState` scrolls it so the selected item stays visible.
57+
58+## Items with several styles
59+
60+An item can be any `Line` or `Text`: `ListItem::new(Line::from(vec!["Dune".bold(), " — Herbert".dim()]))`. `List::new` takes anything that iterates over items, strings included.
new file mode 100644
@@ -0,0 +1,60 @@
1+# Lists and selection
2+
3+A `List` shows items, one per row. To let the user move a selection, keep a `ListState` next to the list and render it with `render_stateful_widget`.
4+
5+## Keep the selection with ListState
6+
7+`ListState` remembers which item is selected and how far the list is scrolled. It lives in your app, not in the widget: the widget is rebuilt at each draw, the state survives between draws. `state.select_next()` and `state.select_previous()` move the selection; `state.select(Some(0))` selects the first item; `state.selected()` tells which one is selected.
8+
9+## Highlight the selected item
10+
11+`.highlight_style(...)` styles the selected row and `.highlight_symbol(">> ")` puts a marker before it. `HighlightSpacing::Always` keeps the room for the symbol even when nothing is selected, so the text does not jump.
12+
13+## A list you move through with the arrows
14+
15+```rust
16+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
17+use ratatui::style::Style;
18+use ratatui::widgets::{Block, HighlightSpacing, List, ListState};
19+use ratatui::DefaultTerminal;
20+
21+fn main() -> std::io::Result<()> {
22+ let mut terminal = ratatui::init();
23+ let result = run(&mut terminal);
24+ ratatui::restore();
25+ result
26+}
27+
28+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
29+ let books = ["Dune", "Neuromancer", "Hyperion", "Foundation", "Solaris"];
30+ let mut state = ListState::default();
31+ state.select(Some(0));
32+ loop {
33+ terminal.draw(|frame| {
34+ let list = List::new(books)
35+ .block(Block::bordered().title(" Books — ↑/↓ to move, q to quit "))
36+ .highlight_style(Style::new().black().on_yellow())
37+ .highlight_symbol(">> ")
38+ .highlight_spacing(HighlightSpacing::Always);
39+ frame.render_stateful_widget(list, frame.area(), &mut state);
40+ })?;
41+ if let Event::Key(key) = event::read()? {
42+ if key.kind != KeyEventKind::Press {
43+ continue;
44+ }
45+ match key.code {
46+ KeyCode::Char('q') => return Ok(()),
47+ KeyCode::Down | KeyCode::Char('j') => state.select_next(),
48+ KeyCode::Up | KeyCode::Char('k') => state.select_previous(),
49+ _ => {}
50+ }
51+ }
52+ }
53+}
54+```
55+
56+`select_next` stops at the last item; when the list is taller than the area, `ListState` scrolls it so the selected item stays visible.
57+
58+## Items with several styles
59+
60+An item can be any `Line` or `Text`: `ListItem::new(Line::from(vec!["Dune".bold(), " — Herbert".dim()]))`. `List::new` takes anything that iterates over items, strings included.
added docs/05-tables.md +63 -0
new file mode 100644
@@ -0,0 +1,63 @@
1+# Tables
2+
3+A `Table` shows rows and columns, with an optional header. Like a list, it can keep a selected row in a `TableState`.
4+
5+## Rows, cells and column widths
6+
7+`Row::new(vec!["Dune", "Herbert", "1965"])` is a row of cells. `Table::new(rows, widths)` needs the column widths as constraints, the same ones as `Layout`: `[Constraint::Fill(2), Constraint::Fill(1), Constraint::Length(4)]`. `.header(Row::new(...))` adds a header row, `.column_spacing(2)` the space between columns.
8+
9+## Select a row with TableState
10+
11+`TableState` works like `ListState`: `select_next`, `select_previous`, `selected`. Style the selected row with `.row_highlight_style(...)` and mark it with `.highlight_symbol("> ")`.
12+
13+```rust
14+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
15+use ratatui::layout::Constraint;
16+use ratatui::style::{Style, Stylize};
17+use ratatui::widgets::{Block, Row, Table, TableState};
18+use ratatui::DefaultTerminal;
19+
20+fn main() -> std::io::Result<()> {
21+ let mut terminal = ratatui::init();
22+ let result = run(&mut terminal);
23+ ratatui::restore();
24+ result
25+}
26+
27+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
28+ let books = [
29+ ["Dune", "Frank Herbert", "1965"],
30+ ["Neuromancer", "William Gibson", "1984"],
31+ ["Hyperion", "Dan Simmons", "1989"],
32+ ];
33+ let mut state = TableState::default().with_selected(Some(0));
34+ loop {
35+ terminal.draw(|frame| {
36+ let rows = books.iter().map(|b| Row::new(b.to_vec()));
37+ let widths = [Constraint::Fill(2), Constraint::Fill(2), Constraint::Length(4)];
38+ let table = Table::new(rows, widths)
39+ .header(Row::new(vec!["Title", "Author", "Year"]).bold().underlined())
40+ .block(Block::bordered().title(" Library "))
41+ .row_highlight_style(Style::new().reversed())
42+ .highlight_symbol("> ")
43+ .column_spacing(2);
44+ frame.render_stateful_widget(table, frame.area(), &mut state);
45+ })?;
46+ if let Event::Key(key) = event::read()? {
47+ if key.kind != KeyEventKind::Press {
48+ continue;
49+ }
50+ match key.code {
51+ KeyCode::Char('q') => return Ok(()),
52+ KeyCode::Down => state.select_next(),
53+ KeyCode::Up => state.select_previous(),
54+ _ => {}
55+ }
56+ }
57+ }
58+}
59+```
60+
61+## Cells with their own style
62+
63+A cell can be styled on its own: `Cell::from("overdue").red()`, then `Row::new(vec![Cell::from("Dune"), Cell::from("overdue").red()])`. A whole row too: `Row::new(...).on_dark_gray()`. `.height(2)` gives a row two lines.
new file mode 100644
@@ -0,0 +1,63 @@
1+# Tables
2+
3+A `Table` shows rows and columns, with an optional header. Like a list, it can keep a selected row in a `TableState`.
4+
5+## Rows, cells and column widths
6+
7+`Row::new(vec!["Dune", "Herbert", "1965"])` is a row of cells. `Table::new(rows, widths)` needs the column widths as constraints, the same ones as `Layout`: `[Constraint::Fill(2), Constraint::Fill(1), Constraint::Length(4)]`. `.header(Row::new(...))` adds a header row, `.column_spacing(2)` the space between columns.
8+
9+## Select a row with TableState
10+
11+`TableState` works like `ListState`: `select_next`, `select_previous`, `selected`. Style the selected row with `.row_highlight_style(...)` and mark it with `.highlight_symbol("> ")`.
12+
13+```rust
14+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
15+use ratatui::layout::Constraint;
16+use ratatui::style::{Style, Stylize};
17+use ratatui::widgets::{Block, Row, Table, TableState};
18+use ratatui::DefaultTerminal;
19+
20+fn main() -> std::io::Result<()> {
21+ let mut terminal = ratatui::init();
22+ let result = run(&mut terminal);
23+ ratatui::restore();
24+ result
25+}
26+
27+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
28+ let books = [
29+ ["Dune", "Frank Herbert", "1965"],
30+ ["Neuromancer", "William Gibson", "1984"],
31+ ["Hyperion", "Dan Simmons", "1989"],
32+ ];
33+ let mut state = TableState::default().with_selected(Some(0));
34+ loop {
35+ terminal.draw(|frame| {
36+ let rows = books.iter().map(|b| Row::new(b.to_vec()));
37+ let widths = [Constraint::Fill(2), Constraint::Fill(2), Constraint::Length(4)];
38+ let table = Table::new(rows, widths)
39+ .header(Row::new(vec!["Title", "Author", "Year"]).bold().underlined())
40+ .block(Block::bordered().title(" Library "))
41+ .row_highlight_style(Style::new().reversed())
42+ .highlight_symbol("> ")
43+ .column_spacing(2);
44+ frame.render_stateful_widget(table, frame.area(), &mut state);
45+ })?;
46+ if let Event::Key(key) = event::read()? {
47+ if key.kind != KeyEventKind::Press {
48+ continue;
49+ }
50+ match key.code {
51+ KeyCode::Char('q') => return Ok(()),
52+ KeyCode::Down => state.select_next(),
53+ KeyCode::Up => state.select_previous(),
54+ _ => {}
55+ }
56+ }
57+ }
58+}
59+```
60+
61+## Cells with their own style
62+
63+A cell can be styled on its own: `Cell::from("overdue").red()`, then `Row::new(vec![Cell::from("Dune"), Cell::from("overdue").red()])`. A whole row too: `Row::new(...).on_dark_gray()`. `.height(2)` gives a row two lines.
added docs/06-gauges-and-ticks.md +56 -0
new file mode 100644
@@ -0,0 +1,56 @@
1+# Gauges and a ticking app
2+
3+A `Gauge` draws a progress bar. To animate it, the app must redraw even when no key is pressed: wait for an event with a timeout instead of blocking on `event::read`.
4+
5+## Gauge
6+
7+`Gauge::default().ratio(0.4)` fills 40 % of the bar (`.percent(40)` does the same with an integer). `.gauge_style(...)` colors the filled part, `.label("…")` replaces the default percentage text, `.block(...)` frames it. `LineGauge` is a one-line variant.
8+
9+## Redraw without a key: event::poll
10+
11+`event::poll(timeout)` waits up to `timeout` for an event and returns whether one is ready. Poll with a short timeout (100 ms), and when it returns `false`, advance the app's state — that is a tick — then draw again.
12+
13+```rust
14+use std::time::Duration;
15+
16+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
17+use ratatui::style::{Color, Style};
18+use ratatui::widgets::{Block, Gauge};
19+use ratatui::DefaultTerminal;
20+
21+fn main() -> std::io::Result<()> {
22+ let mut terminal = ratatui::init();
23+ let result = run(&mut terminal);
24+ ratatui::restore();
25+ result
26+}
27+
28+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
29+ let mut progress: f64 = 0.0;
30+ loop {
31+ terminal.draw(|frame| {
32+ let gauge = Gauge::default()
33+ .block(Block::bordered().title(" Download — q to quit "))
34+ .gauge_style(Style::new().fg(Color::Green))
35+ .ratio(progress)
36+ .label(format!("{:.0} %", progress * 100.0));
37+ frame.render_widget(gauge, frame.area());
38+ })?;
39+ if event::poll(Duration::from_millis(100))? {
40+ if let Event::Key(key) = event::read()? {
41+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
42+ return Ok(());
43+ }
44+ }
45+ } else {
46+ progress = (progress + 0.01).min(1.0);
47+ }
48+ }
49+}
50+```
51+
52+The bar fills by 1 % every 100 ms while no key is pressed. In a real app the tick would read the real progress — a counter shared with a worker thread, a channel — instead of inventing it.
53+
54+## Ticks and frame rate
55+
56+Keep the poll timeout short enough for the UI to feel alive (50–250 ms) and do no heavy work in the draw closure: compute in the tick, draw from the state. If the work is slow, run it on another thread and send the results to the loop with a channel.
new file mode 100644
@@ -0,0 +1,56 @@
1+# Gauges and a ticking app
2+
3+A `Gauge` draws a progress bar. To animate it, the app must redraw even when no key is pressed: wait for an event with a timeout instead of blocking on `event::read`.
4+
5+## Gauge
6+
7+`Gauge::default().ratio(0.4)` fills 40 % of the bar (`.percent(40)` does the same with an integer). `.gauge_style(...)` colors the filled part, `.label("…")` replaces the default percentage text, `.block(...)` frames it. `LineGauge` is a one-line variant.
8+
9+## Redraw without a key: event::poll
10+
11+`event::poll(timeout)` waits up to `timeout` for an event and returns whether one is ready. Poll with a short timeout (100 ms), and when it returns `false`, advance the app's state — that is a tick — then draw again.
12+
13+```rust
14+use std::time::Duration;
15+
16+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
17+use ratatui::style::{Color, Style};
18+use ratatui::widgets::{Block, Gauge};
19+use ratatui::DefaultTerminal;
20+
21+fn main() -> std::io::Result<()> {
22+ let mut terminal = ratatui::init();
23+ let result = run(&mut terminal);
24+ ratatui::restore();
25+ result
26+}
27+
28+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
29+ let mut progress: f64 = 0.0;
30+ loop {
31+ terminal.draw(|frame| {
32+ let gauge = Gauge::default()
33+ .block(Block::bordered().title(" Download — q to quit "))
34+ .gauge_style(Style::new().fg(Color::Green))
35+ .ratio(progress)
36+ .label(format!("{:.0} %", progress * 100.0));
37+ frame.render_widget(gauge, frame.area());
38+ })?;
39+ if event::poll(Duration::from_millis(100))? {
40+ if let Event::Key(key) = event::read()? {
41+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
42+ return Ok(());
43+ }
44+ }
45+ } else {
46+ progress = (progress + 0.01).min(1.0);
47+ }
48+ }
49+}
50+```
51+
52+The bar fills by 1 % every 100 ms while no key is pressed. In a real app the tick would read the real progress — a counter shared with a worker thread, a channel — instead of inventing it.
53+
54+## Ticks and frame rate
55+
56+Keep the poll timeout short enough for the UI to feel alive (50–250 ms) and do no heavy work in the draw closure: compute in the tick, draw from the state. If the work is slow, run it on another thread and send the results to the loop with a channel.
added docs/07-tabs.md +64 -0
new file mode 100644
@@ -0,0 +1,64 @@
1+# Tabs
2+
3+`Tabs` draws a row of titles with one highlighted, for apps with several views. The widget only draws the titles: which view is shown under them is up to you.
4+
5+## Draw the tab bar
6+
7+`Tabs::new(vec!["Home", "Books", "Help"])` takes the titles; `.select(index)` highlights one; `.highlight_style(...)` styles it; `.divider(" | ")` sets what goes between titles.
8+
9+## Switch views with the keyboard
10+
11+Keep the selected index in your app, change it on a key, and draw the matching view in the area under the bar.
12+
13+```rust
14+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
15+use ratatui::layout::{Constraint, Layout};
16+use ratatui::style::Style;
17+use ratatui::widgets::{Block, Paragraph, Tabs};
18+use ratatui::{DefaultTerminal, Frame};
19+
20+const TITLES: [&str; 3] = ["Home", "Books", "Help"];
21+
22+fn main() -> std::io::Result<()> {
23+ let mut terminal = ratatui::init();
24+ let result = run(&mut terminal);
25+ ratatui::restore();
26+ result
27+}
28+
29+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
30+ let mut tab = 0;
31+ loop {
32+ terminal.draw(|frame| draw(frame, tab))?;
33+ if let Event::Key(key) = event::read()? {
34+ if key.kind != KeyEventKind::Press {
35+ continue;
36+ }
37+ match key.code {
38+ KeyCode::Char('q') => return Ok(()),
39+ KeyCode::Tab | KeyCode::Right => tab = (tab + 1) % TITLES.len(),
40+ KeyCode::BackTab | KeyCode::Left => tab = (tab + TITLES.len() - 1) % TITLES.len(),
41+ _ => {}
42+ }
43+ }
44+ }
45+}
46+
47+fn draw(frame: &mut Frame, tab: usize) {
48+ let [bar, body] = Layout::vertical([Constraint::Length(3), Constraint::Min(0)]).areas(frame.area());
49+ let tabs = Tabs::new(TITLES)
50+ .block(Block::bordered().title(" Tab / ← → to switch, q to quit "))
51+ .select(tab)
52+ .highlight_style(Style::new().yellow().bold())
53+ .divider(" | ");
54+ frame.render_widget(tabs, bar);
55+ let text = match tab {
56+ 0 => "Welcome.",
57+ 1 => "Your books will be listed here.",
58+ _ => "Tab and the arrows switch views; q quits.",
59+ };
60+ frame.render_widget(Paragraph::new(text).block(Block::bordered()), body);
61+}
62+```
63+
64+`KeyCode::BackTab` is Shift+Tab.
new file mode 100644
@@ -0,0 +1,64 @@
1+# Tabs
2+
3+`Tabs` draws a row of titles with one highlighted, for apps with several views. The widget only draws the titles: which view is shown under them is up to you.
4+
5+## Draw the tab bar
6+
7+`Tabs::new(vec!["Home", "Books", "Help"])` takes the titles; `.select(index)` highlights one; `.highlight_style(...)` styles it; `.divider(" | ")` sets what goes between titles.
8+
9+## Switch views with the keyboard
10+
11+Keep the selected index in your app, change it on a key, and draw the matching view in the area under the bar.
12+
13+```rust
14+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
15+use ratatui::layout::{Constraint, Layout};
16+use ratatui::style::Style;
17+use ratatui::widgets::{Block, Paragraph, Tabs};
18+use ratatui::{DefaultTerminal, Frame};
19+
20+const TITLES: [&str; 3] = ["Home", "Books", "Help"];
21+
22+fn main() -> std::io::Result<()> {
23+ let mut terminal = ratatui::init();
24+ let result = run(&mut terminal);
25+ ratatui::restore();
26+ result
27+}
28+
29+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
30+ let mut tab = 0;
31+ loop {
32+ terminal.draw(|frame| draw(frame, tab))?;
33+ if let Event::Key(key) = event::read()? {
34+ if key.kind != KeyEventKind::Press {
35+ continue;
36+ }
37+ match key.code {
38+ KeyCode::Char('q') => return Ok(()),
39+ KeyCode::Tab | KeyCode::Right => tab = (tab + 1) % TITLES.len(),
40+ KeyCode::BackTab | KeyCode::Left => tab = (tab + TITLES.len() - 1) % TITLES.len(),
41+ _ => {}
42+ }
43+ }
44+ }
45+}
46+
47+fn draw(frame: &mut Frame, tab: usize) {
48+ let [bar, body] = Layout::vertical([Constraint::Length(3), Constraint::Min(0)]).areas(frame.area());
49+ let tabs = Tabs::new(TITLES)
50+ .block(Block::bordered().title(" Tab / ← → to switch, q to quit "))
51+ .select(tab)
52+ .highlight_style(Style::new().yellow().bold())
53+ .divider(" | ");
54+ frame.render_widget(tabs, bar);
55+ let text = match tab {
56+ 0 => "Welcome.",
57+ 1 => "Your books will be listed here.",
58+ _ => "Tab and the arrows switch views; q quits.",
59+ };
60+ frame.render_widget(Paragraph::new(text).block(Block::bordered()), body);
61+}
62+```
63+
64+`KeyCode::BackTab` is Shift+Tab.
added docs/08-app-state-and-events.md +70 -0
new file mode 100644
@@ -0,0 +1,70 @@
1+# App state and key events
2+
3+As an app grows, keep its state in one struct, and split the loop into three parts: read an event, update the state, draw from the state. Drawing never changes the state; handling a key never draws.
4+
5+## The App struct
6+
7+```rust
8+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
9+use ratatui::widgets::{Block, Paragraph};
10+use ratatui::{DefaultTerminal, Frame};
11+
12+#[derive(Default)]
13+struct App {
14+ counter: i64,
15+ exit: bool,
16+}
17+
18+impl App {
19+ fn run(&mut self, terminal: &mut DefaultTerminal) -> std::io::Result<()> {
20+ while !self.exit {
21+ terminal.draw(|frame| self.draw(frame))?;
22+ self.handle_events()?;
23+ }
24+ Ok(())
25+ }
26+
27+ fn draw(&self, frame: &mut Frame) {
28+ let text = format!("Counter: {}\n\n← / → to change it, q or Ctrl-C to quit", self.counter);
29+ frame.render_widget(Paragraph::new(text).block(Block::bordered().title(" Counter ")), frame.area());
30+ }
31+
32+ fn handle_events(&mut self) -> std::io::Result<()> {
33+ if let Event::Key(key) = event::read()? {
34+ if key.kind == KeyEventKind::Press {
35+ self.handle_key(key);
36+ }
37+ }
38+ Ok(())
39+ }
40+
41+ fn handle_key(&mut self, key: KeyEvent) {
42+ match key.code {
43+ KeyCode::Char('q') => self.exit = true,
44+ KeyCode::Char('c') if key.modifiers.contains(KeyModifiers::CONTROL) => self.exit = true,
45+ KeyCode::Left => self.counter -= 1,
46+ KeyCode::Right => self.counter += 1,
47+ _ => {}
48+ }
49+ }
50+}
51+
52+fn main() -> std::io::Result<()> {
53+ let mut terminal = ratatui::init();
54+ let result = App::default().run(&mut terminal);
55+ ratatui::restore();
56+ result
57+}
58+```
59+
60+## Why check KeyEventKind::Press
61+
62+On Windows, and on terminals that report key releases, Crossterm sends a `Press` and a `Release` event for one key stroke. Without the `key.kind == KeyEventKind::Press` check, every key would act twice.
63+
64+## Ctrl-C in raw mode
65+
66+In raw mode Ctrl-C is not a signal any more: it arrives as a key, `KeyCode::Char('c')` with `KeyModifiers::CONTROL`. Handle it, or the user has no way out but closing the terminal.
67+
68+## Test the logic without a terminal
69+
70+Because `handle_key` only changes the state, it can be tested with a plain `#[test]`: build an `App`, call `app.handle_key(KeyEvent::from(KeyCode::Right))`, check `app.counter == 1`. For the drawing itself, Ratatui's `TestBackend` renders into a buffer you can compare.
new file mode 100644
@@ -0,0 +1,70 @@
1+# App state and key events
2+
3+As an app grows, keep its state in one struct, and split the loop into three parts: read an event, update the state, draw from the state. Drawing never changes the state; handling a key never draws.
4+
5+## The App struct
6+
7+```rust
8+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
9+use ratatui::widgets::{Block, Paragraph};
10+use ratatui::{DefaultTerminal, Frame};
11+
12+#[derive(Default)]
13+struct App {
14+ counter: i64,
15+ exit: bool,
16+}
17+
18+impl App {
19+ fn run(&mut self, terminal: &mut DefaultTerminal) -> std::io::Result<()> {
20+ while !self.exit {
21+ terminal.draw(|frame| self.draw(frame))?;
22+ self.handle_events()?;
23+ }
24+ Ok(())
25+ }
26+
27+ fn draw(&self, frame: &mut Frame) {
28+ let text = format!("Counter: {}\n\n← / → to change it, q or Ctrl-C to quit", self.counter);
29+ frame.render_widget(Paragraph::new(text).block(Block::bordered().title(" Counter ")), frame.area());
30+ }
31+
32+ fn handle_events(&mut self) -> std::io::Result<()> {
33+ if let Event::Key(key) = event::read()? {
34+ if key.kind == KeyEventKind::Press {
35+ self.handle_key(key);
36+ }
37+ }
38+ Ok(())
39+ }
40+
41+ fn handle_key(&mut self, key: KeyEvent) {
42+ match key.code {
43+ KeyCode::Char('q') => self.exit = true,
44+ KeyCode::Char('c') if key.modifiers.contains(KeyModifiers::CONTROL) => self.exit = true,
45+ KeyCode::Left => self.counter -= 1,
46+ KeyCode::Right => self.counter += 1,
47+ _ => {}
48+ }
49+ }
50+}
51+
52+fn main() -> std::io::Result<()> {
53+ let mut terminal = ratatui::init();
54+ let result = App::default().run(&mut terminal);
55+ ratatui::restore();
56+ result
57+}
58+```
59+
60+## Why check KeyEventKind::Press
61+
62+On Windows, and on terminals that report key releases, Crossterm sends a `Press` and a `Release` event for one key stroke. Without the `key.kind == KeyEventKind::Press` check, every key would act twice.
63+
64+## Ctrl-C in raw mode
65+
66+In raw mode Ctrl-C is not a signal any more: it arrives as a key, `KeyCode::Char('c')` with `KeyModifiers::CONTROL`. Handle it, or the user has no way out but closing the terminal.
67+
68+## Test the logic without a terminal
69+
70+Because `handle_key` only changes the state, it can be tested with a plain `#[test]`: build an `App`, call `app.handle_key(KeyEvent::from(KeyCode::Right))`, check `app.counter == 1`. For the drawing itself, Ratatui's `TestBackend` renders into a buffer you can compare.
added docs/09-popups.md +67 -0
new file mode 100644
@@ -0,0 +1,67 @@
1+# Popups and dialogs
2+
3+A popup is drawn over the rest of the UI, in a smaller area, after everything else. Ratatui draws in order: what is rendered last is on top.
4+
5+## Clear the area first
6+
7+Widgets only paint the cells they use, so the UI underneath would show through the popup. Render `Clear` on the popup's area first: it blanks it, then draw the popup's block and content in the same area.
8+
9+## A centered confirmation dialog
10+
11+```rust
12+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
13+use ratatui::layout::{Constraint, Flex, Layout, Rect};
14+use ratatui::style::Stylize;
15+use ratatui::widgets::{Block, Clear, Paragraph};
16+use ratatui::{DefaultTerminal, Frame};
17+
18+fn main() -> std::io::Result<()> {
19+ let mut terminal = ratatui::init();
20+ let result = run(&mut terminal);
21+ ratatui::restore();
22+ result
23+}
24+
25+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
26+ let mut show_popup = false;
27+ loop {
28+ terminal.draw(|frame| draw(frame, show_popup))?;
29+ if let Event::Key(key) = event::read()? {
30+ if key.kind != KeyEventKind::Press {
31+ continue;
32+ }
33+ match (show_popup, key.code) {
34+ (false, KeyCode::Char('q')) => show_popup = true,
35+ (true, KeyCode::Char('y')) => return Ok(()),
36+ (true, KeyCode::Char('n') | KeyCode::Esc) => show_popup = false,
37+ _ => {}
38+ }
39+ }
40+ }
41+}
42+
43+fn draw(frame: &mut Frame, show_popup: bool) {
44+ let main = Paragraph::new("The main screen. Press q to quit.").block(Block::bordered().title(" App "));
45+ frame.render_widget(main, frame.area());
46+ if show_popup {
47+ let area = centered(frame.area(), 40, 5);
48+ frame.render_widget(Clear, area);
49+ let dialog = Paragraph::new("Really quit? y / n")
50+ .centered()
51+ .block(Block::bordered().title(" Confirm ".bold()).on_blue());
52+ frame.render_widget(dialog, area);
53+ }
54+}
55+
56+fn centered(area: Rect, width: u16, height: u16) -> Rect {
57+ let [area] = Layout::horizontal([Constraint::Length(width)]).flex(Flex::Center).areas(area);
58+ let [area] = Layout::vertical([Constraint::Length(height)]).flex(Flex::Center).areas(area);
59+ area
60+}
61+```
62+
63+`q` opens the dialog instead of quitting at once; `y` quits, `n` or Esc closes the dialog.
64+
65+## Keys go to the popup
66+
67+While a popup is open, it owns the keyboard: match on the popup's state first, as above, so a key meant for the dialog does not also act on the screen behind it.
new file mode 100644
@@ -0,0 +1,67 @@
1+# Popups and dialogs
2+
3+A popup is drawn over the rest of the UI, in a smaller area, after everything else. Ratatui draws in order: what is rendered last is on top.
4+
5+## Clear the area first
6+
7+Widgets only paint the cells they use, so the UI underneath would show through the popup. Render `Clear` on the popup's area first: it blanks it, then draw the popup's block and content in the same area.
8+
9+## A centered confirmation dialog
10+
11+```rust
12+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
13+use ratatui::layout::{Constraint, Flex, Layout, Rect};
14+use ratatui::style::Stylize;
15+use ratatui::widgets::{Block, Clear, Paragraph};
16+use ratatui::{DefaultTerminal, Frame};
17+
18+fn main() -> std::io::Result<()> {
19+ let mut terminal = ratatui::init();
20+ let result = run(&mut terminal);
21+ ratatui::restore();
22+ result
23+}
24+
25+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
26+ let mut show_popup = false;
27+ loop {
28+ terminal.draw(|frame| draw(frame, show_popup))?;
29+ if let Event::Key(key) = event::read()? {
30+ if key.kind != KeyEventKind::Press {
31+ continue;
32+ }
33+ match (show_popup, key.code) {
34+ (false, KeyCode::Char('q')) => show_popup = true,
35+ (true, KeyCode::Char('y')) => return Ok(()),
36+ (true, KeyCode::Char('n') | KeyCode::Esc) => show_popup = false,
37+ _ => {}
38+ }
39+ }
40+ }
41+}
42+
43+fn draw(frame: &mut Frame, show_popup: bool) {
44+ let main = Paragraph::new("The main screen. Press q to quit.").block(Block::bordered().title(" App "));
45+ frame.render_widget(main, frame.area());
46+ if show_popup {
47+ let area = centered(frame.area(), 40, 5);
48+ frame.render_widget(Clear, area);
49+ let dialog = Paragraph::new("Really quit? y / n")
50+ .centered()
51+ .block(Block::bordered().title(" Confirm ".bold()).on_blue());
52+ frame.render_widget(dialog, area);
53+ }
54+}
55+
56+fn centered(area: Rect, width: u16, height: u16) -> Rect {
57+ let [area] = Layout::horizontal([Constraint::Length(width)]).flex(Flex::Center).areas(area);
58+ let [area] = Layout::vertical([Constraint::Length(height)]).flex(Flex::Center).areas(area);
59+ area
60+}
61+```
62+
63+`q` opens the dialog instead of quitting at once; `y` quits, `n` or Esc closes the dialog.
64+
65+## Keys go to the popup
66+
67+While a popup is open, it owns the keyboard: match on the popup's state first, as above, so a key meant for the dialog does not also act on the screen behind it.
added docs/README.md +13 -0
new file mode 100644
@@ -0,0 +1,13 @@
1+# Ratatui tutorials
2+
3+Short tutorials on building terminal user interfaces in Rust with [Ratatui](https://ratatui.rs) 0.30. Each one is a complete program you can paste into `src/main.rs` of a project made with `cargo new` and `cargo add ratatui`.
4+
5+1. [Getting started](01-getting-started.md) — the project, the smallest app, `init` / `restore`, the draw loop
6+2. [Layout](02-layout.md) — constraints, header / body / footer, centering an area
7+3. [Blocks, paragraphs and styled text](03-blocks-and-paragraphs.md) — borders, titles, wrapping, `Span` / `Line` / `Text`, colors
8+4. [Lists and selection](04-lists.md) — `List`, `ListState`, highlighting, moving with the arrows
9+5. [Tables](05-tables.md) — rows, column widths, header, `TableState`
10+6. [Gauges and a ticking app](06-gauges-and-ticks.md) — `Gauge`, redrawing with `event::poll`
11+7. [Tabs](07-tabs.md) — a tab bar and switching views
12+8. [App state and key events](08-app-state-and-events.md) — the `App` struct, `KeyEventKind::Press`, Ctrl-C in raw mode, testing
13+9. [Popups and dialogs](09-popups.md) — `Clear`, a centered dialog, keys for the popup
new file mode 100644
@@ -0,0 +1,13 @@
1+# Ratatui tutorials
2+
3+Short tutorials on building terminal user interfaces in Rust with [Ratatui](https://ratatui.rs) 0.30. Each one is a complete program you can paste into `src/main.rs` of a project made with `cargo new` and `cargo add ratatui`.
4+
5+1. [Getting started](01-getting-started.md) — the project, the smallest app, `init` / `restore`, the draw loop
6+2. [Layout](02-layout.md) — constraints, header / body / footer, centering an area
7+3. [Blocks, paragraphs and styled text](03-blocks-and-paragraphs.md) — borders, titles, wrapping, `Span` / `Line` / `Text`, colors
8+4. [Lists and selection](04-lists.md) — `List`, `ListState`, highlighting, moving with the arrows
9+5. [Tables](05-tables.md) — rows, column widths, header, `TableState`
10+6. [Gauges and a ticking app](06-gauges-and-ticks.md) — `Gauge`, redrawing with `event::poll`
11+7. [Tabs](07-tabs.md) — a tab bar and switching views
12+8. [App state and key events](08-app-state-and-events.md) — the `App` struct, `KeyEventKind::Press`, Ctrl-C in raw mode, testing
13+9. [Popups and dialogs](09-popups.md) — `Clear`, a centered dialog, keys for the popup
added hello-ratatui/Cargo.lock +1718 -0
new file mode 100644
@@ -0,0 +1,1718 @@
1+# This file is automatically @generated by Cargo.
2+# It is not intended for manual editing.
3+version = 4
4+
5+[[package]]
6+name = "aho-corasick"
7+version = "1.1.5"
8+source = "registry+https://github.com/rust-lang/crates.io-index"
9+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10+dependencies = [
11+ "memchr",
12+]
13+
14+[[package]]
15+name = "allocator-api2"
16+version = "0.2.21"
17+source = "registry+https://github.com/rust-lang/crates.io-index"
18+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19+
20+[[package]]
21+name = "anyhow"
22+version = "1.0.104"
23+source = "registry+https://github.com/rust-lang/crates.io-index"
24+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
25+
26+[[package]]
27+name = "approx"
28+version = "0.5.1"
29+source = "registry+https://github.com/rust-lang/crates.io-index"
30+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
31+dependencies = [
32+ "num-traits",
33+]
34+
35+[[package]]
36+name = "atomic"
37+version = "0.6.1"
38+source = "registry+https://github.com/rust-lang/crates.io-index"
39+checksum = "a89cbf775b137e9b968e67227ef7f775587cde3fd31b0d8599dbd0f598a48340"
40+dependencies = [
41+ "bytemuck",
42+]
43+
44+[[package]]
45+name = "autocfg"
46+version = "1.5.1"
47+source = "registry+https://github.com/rust-lang/crates.io-index"
48+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
49+
50+[[package]]
51+name = "base64"
52+version = "0.22.1"
53+source = "registry+https://github.com/rust-lang/crates.io-index"
54+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
55+
56+[[package]]
57+name = "bit-set"
58+version = "0.5.3"
59+source = "registry+https://github.com/rust-lang/crates.io-index"
60+checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
61+dependencies = [
62+ "bit-vec",
63+]
64+
65+[[package]]
66+name = "bit-vec"
67+version = "0.6.3"
68+source = "registry+https://github.com/rust-lang/crates.io-index"
69+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
70+
71+[[package]]
72+name = "bitflags"
73+version = "1.3.2"
74+source = "registry+https://github.com/rust-lang/crates.io-index"
75+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
76+
77+[[package]]
78+name = "bitflags"
79+version = "2.13.2"
80+source = "registry+https://github.com/rust-lang/crates.io-index"
81+checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
82+
83+[[package]]
84+name = "block-buffer"
85+version = "0.10.4"
86+source = "registry+https://github.com/rust-lang/crates.io-index"
87+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
88+dependencies = [
89+ "generic-array",
90+]
91+
92+[[package]]
93+name = "bumpalo"
94+version = "3.20.3"
95+source = "registry+https://github.com/rust-lang/crates.io-index"
96+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
97+
98+[[package]]
99+name = "by_address"
100+version = "1.2.1"
101+source = "registry+https://github.com/rust-lang/crates.io-index"
102+checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06"
103+
104+[[package]]
105+name = "bytemuck"
106+version = "1.25.2"
107+source = "registry+https://github.com/rust-lang/crates.io-index"
108+checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
109+
110+[[package]]
111+name = "castaway"
112+version = "0.2.4"
113+source = "registry+https://github.com/rust-lang/crates.io-index"
114+checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
115+dependencies = [
116+ "rustversion",
117+]
118+
119+[[package]]
120+name = "cc"
121+version = "1.9.0"
122+source = "registry+https://github.com/rust-lang/crates.io-index"
123+checksum = "877bf67ac8e52449eb2f9e98a344ea163beb70dd1f9eebe3cc5357dcfeaee4df"
124+dependencies = [
125+ "find-msvc-tools",
126+ "shlex",
127+]
128+
129+[[package]]
130+name = "cfg-if"
131+version = "1.0.5"
132+source = "registry+https://github.com/rust-lang/crates.io-index"
133+checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
134+
135+[[package]]
136+name = "cfg_aliases"
137+version = "0.2.2"
138+source = "registry+https://github.com/rust-lang/crates.io-index"
139+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
140+
141+[[package]]
142+name = "compact_str"
143+version = "0.9.1"
144+source = "registry+https://github.com/rust-lang/crates.io-index"
145+checksum = "9dfdd1c2274d9aa354115b09dc9a901d6c5576818cdf70d14cae2bdb47df00ab"
146+dependencies = [
147+ "castaway",
148+ "cfg-if",
149+ "itoa",
150+ "rustversion",
151+ "ryu",
152+ "static_assertions",
153+]
154+
155+[[package]]
156+name = "convert_case"
157+version = "0.10.0"
158+source = "registry+https://github.com/rust-lang/crates.io-index"
159+checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
160+dependencies = [
161+ "unicode-segmentation",
162+]
163+
164+[[package]]
165+name = "cpufeatures"
166+version = "0.2.17"
167+source = "registry+https://github.com/rust-lang/crates.io-index"
168+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
169+dependencies = [
170+ "libc",
171+]
172+
173+[[package]]
174+name = "critical-section"
175+version = "1.2.0"
176+source = "registry+https://github.com/rust-lang/crates.io-index"
177+checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
178+
179+[[package]]
180+name = "crossterm"
181+version = "0.29.0"
182+source = "registry+https://github.com/rust-lang/crates.io-index"
183+checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b"
184+dependencies = [
185+ "bitflags 2.13.2",
186+ "crossterm_winapi",
187+ "derive_more",
188+ "document-features",
189+ "mio",
190+ "parking_lot",
191+ "rustix",
192+ "signal-hook",
193+ "signal-hook-mio",
194+ "winapi",
195+]
196+
197+[[package]]
198+name = "crossterm_winapi"
199+version = "0.9.1"
200+source = "registry+https://github.com/rust-lang/crates.io-index"
201+checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
202+dependencies = [
203+ "winapi",
204+]
205+
206+[[package]]
207+name = "crypto-common"
208+version = "0.1.7"
209+source = "registry+https://github.com/rust-lang/crates.io-index"
210+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
211+dependencies = [
212+ "generic-array",
213+ "typenum",
214+]
215+
216+[[package]]
217+name = "csscolorparser"
218+version = "0.6.2"
219+source = "registry+https://github.com/rust-lang/crates.io-index"
220+checksum = "eb2a7d3066da2de787b7f032c736763eb7ae5d355f81a68bab2675a96008b0bf"
221+dependencies = [
222+ "lab",
223+ "phf",
224+]
225+
226+[[package]]
227+name = "darling"
228+version = "0.24.1"
229+source = "registry+https://github.com/rust-lang/crates.io-index"
230+checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
231+dependencies = [
232+ "darling_core",
233+ "darling_macro",
234+]
235+
236+[[package]]
237+name = "darling_core"
238+version = "0.24.1"
239+source = "registry+https://github.com/rust-lang/crates.io-index"
240+checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
241+dependencies = [
242+ "ident_case",
243+ "proc-macro2",
244+ "quote",
245+ "strsim",
246+ "syn 3.0.9",
247+]
248+
249+[[package]]
250+name = "darling_macro"
251+version = "0.24.1"
252+source = "registry+https://github.com/rust-lang/crates.io-index"
253+checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
254+dependencies = [
255+ "darling_core",
256+ "quote",
257+ "syn 3.0.9",
258+]
259+
260+[[package]]
261+name = "deltae"
262+version = "0.3.2"
263+source = "registry+https://github.com/rust-lang/crates.io-index"
264+checksum = "5729f5117e208430e437df2f4843f5e5952997175992d1414f94c57d61e270b4"
265+
266+[[package]]
267+name = "deranged"
268+version = "0.5.9"
269+source = "registry+https://github.com/rust-lang/crates.io-index"
270+checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
271+
272+[[package]]
273+name = "derive_more"
274+version = "2.1.1"
275+source = "registry+https://github.com/rust-lang/crates.io-index"
276+checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
277+dependencies = [
278+ "derive_more-impl",
279+]
280+
281+[[package]]
282+name = "derive_more-impl"
283+version = "2.1.1"
284+source = "registry+https://github.com/rust-lang/crates.io-index"
285+checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
286+dependencies = [
287+ "convert_case",
288+ "proc-macro2",
289+ "quote",
290+ "rustc_version",
291+ "syn 2.0.119",
292+]
293+
294+[[package]]
295+name = "digest"
296+version = "0.10.7"
297+source = "registry+https://github.com/rust-lang/crates.io-index"
298+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
299+dependencies = [
300+ "block-buffer",
301+ "crypto-common",
302+]
303+
304+[[package]]
305+name = "document-features"
306+version = "0.2.12"
307+source = "registry+https://github.com/rust-lang/crates.io-index"
308+checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
309+dependencies = [
310+ "litrs",
311+]
312+
313+[[package]]
314+name = "either"
315+version = "1.19.0"
316+source = "registry+https://github.com/rust-lang/crates.io-index"
317+checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
318+
319+[[package]]
320+name = "equivalent"
321+version = "1.0.3"
322+source = "registry+https://github.com/rust-lang/crates.io-index"
323+checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
324+
325+[[package]]
326+name = "errno"
327+version = "0.3.14"
328+source = "registry+https://github.com/rust-lang/crates.io-index"
329+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
330+dependencies = [
331+ "libc",
332+ "windows-sys",
333+]
334+
335+[[package]]
336+name = "euclid"
337+version = "0.22.14"
338+source = "registry+https://github.com/rust-lang/crates.io-index"
339+checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06"
340+dependencies = [
341+ "num-traits",
342+]
343+
344+[[package]]
345+name = "fancy-regex"
346+version = "0.11.0"
347+source = "registry+https://github.com/rust-lang/crates.io-index"
348+checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2"
349+dependencies = [
350+ "bit-set",
351+ "regex",
352+]
353+
354+[[package]]
355+name = "filedescriptor"
356+version = "0.8.3"
357+source = "registry+https://github.com/rust-lang/crates.io-index"
358+checksum = "e40758ed24c9b2eeb76c35fb0aebc66c626084edd827e07e1552279814c6682d"
359+dependencies = [
360+ "libc",
361+ "thiserror 1.0.69",
362+ "winapi",
363+]
364+
365+[[package]]
366+name = "find-msvc-tools"
367+version = "0.1.15"
368+source = "registry+https://github.com/rust-lang/crates.io-index"
369+checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
370+
371+[[package]]
372+name = "finl_unicode"
373+version = "1.5.0"
374+source = "registry+https://github.com/rust-lang/crates.io-index"
375+checksum = "80bb028c8b4148c9ee0cca68fcd9add6044e81d3619f48577ddf13a263d047a2"
376+
377+[[package]]
378+name = "fixedbitset"
379+version = "0.4.2"
380+source = "registry+https://github.com/rust-lang/crates.io-index"
381+checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
382+
383+[[package]]
384+name = "fnv"
385+version = "1.0.7"
386+source = "registry+https://github.com/rust-lang/crates.io-index"
387+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
388+
389+[[package]]
390+name = "foldhash"
391+version = "0.2.0"
392+source = "registry+https://github.com/rust-lang/crates.io-index"
393+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
394+
395+[[package]]
396+name = "futures-core"
397+version = "0.3.34"
398+source = "registry+https://github.com/rust-lang/crates.io-index"
399+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
400+
401+[[package]]
402+name = "futures-task"
403+version = "0.3.34"
404+source = "registry+https://github.com/rust-lang/crates.io-index"
405+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
406+
407+[[package]]
408+name = "futures-util"
409+version = "0.3.34"
410+source = "registry+https://github.com/rust-lang/crates.io-index"
411+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
412+dependencies = [
413+ "futures-core",
414+ "futures-task",
415+ "pin-project-lite",
416+ "slab",
417+]
418+
419+[[package]]
420+name = "generic-array"
421+version = "0.14.7"
422+source = "registry+https://github.com/rust-lang/crates.io-index"
423+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
424+dependencies = [
425+ "typenum",
426+ "version_check",
427+]
428+
429+[[package]]
430+name = "getrandom"
431+version = "0.3.4"
432+source = "registry+https://github.com/rust-lang/crates.io-index"
433+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
434+dependencies = [
435+ "cfg-if",
436+ "libc",
437+ "r-efi 5.3.0",
438+ "wasip2",
439+]
440+
441+[[package]]
442+name = "getrandom"
443+version = "0.4.3"
444+source = "registry+https://github.com/rust-lang/crates.io-index"
445+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
446+dependencies = [
447+ "cfg-if",
448+ "libc",
449+ "r-efi 6.0.0",
450+]
451+
452+[[package]]
453+name = "hashbrown"
454+version = "0.17.1"
455+source = "registry+https://github.com/rust-lang/crates.io-index"
456+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
457+dependencies = [
458+ "allocator-api2",
459+ "equivalent",
460+ "foldhash",
461+]
462+
463+[[package]]
464+name = "heck"
465+version = "0.5.0"
466+source = "registry+https://github.com/rust-lang/crates.io-index"
467+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
468+
469+[[package]]
470+name = "hello-ratatui"
471+version = "0.1.0"
472+dependencies = [
473+ "ratatui",
474+]
475+
476+[[package]]
477+name = "hex"
478+version = "0.4.3"
479+source = "registry+https://github.com/rust-lang/crates.io-index"
480+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
481+
482+[[package]]
483+name = "ident_case"
484+version = "1.0.1"
485+source = "registry+https://github.com/rust-lang/crates.io-index"
486+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
487+
488+[[package]]
489+name = "indoc"
490+version = "2.0.8"
491+source = "registry+https://github.com/rust-lang/crates.io-index"
492+checksum = "a37b2691796cffeb8a8cd305ac66e65841559f147f4e63231d0eafa4db5384d1"
493+dependencies = [
494+ "rustversion",
495+]
496+
497+[[package]]
498+name = "instability"
499+version = "0.3.14"
500+source = "registry+https://github.com/rust-lang/crates.io-index"
501+checksum = "4c3b5acc1e2fd9375041a388da33d1eb8aed5f7a8c0dd3543e3ea2805adfbe20"
502+dependencies = [
503+ "darling",
504+ "indoc",
505+ "proc-macro2",
506+ "quote",
507+ "syn 3.0.9",
508+]
509+
510+[[package]]
511+name = "itertools"
512+version = "0.14.0"
513+source = "registry+https://github.com/rust-lang/crates.io-index"
514+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
515+dependencies = [
516+ "either",
517+]
518+
519+[[package]]
520+name = "itoa"
521+version = "1.0.18"
522+source = "registry+https://github.com/rust-lang/crates.io-index"
523+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
524+
525+[[package]]
526+name = "js-sys"
527+version = "0.3.106"
528+source = "registry+https://github.com/rust-lang/crates.io-index"
529+checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
530+dependencies = [
531+ "cfg-if",
532+ "futures-util",
533+ "wasm-bindgen",
534+]
535+
536+[[package]]
537+name = "kasuari"
538+version = "0.4.13"
539+source = "registry+https://github.com/rust-lang/crates.io-index"
540+checksum = "72f14c90e40a6133f4805b83542a7ed7364f56070b447f56e7f4e90297122209"
541+dependencies = [
542+ "hashbrown",
543+ "portable-atomic",
544+ "thiserror 2.0.21",
545+]
546+
547+[[package]]
548+name = "lab"
549+version = "0.11.0"
550+source = "registry+https://github.com/rust-lang/crates.io-index"
551+checksum = "bf36173d4167ed999940f804952e6b08197cae5ad5d572eb4db150ce8ad5d58f"
552+
553+[[package]]
554+name = "lazy_static"
555+version = "1.5.1"
556+source = "registry+https://github.com/rust-lang/crates.io-index"
557+checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
558+
559+[[package]]
560+name = "libc"
561+version = "0.2.191"
562+source = "registry+https://github.com/rust-lang/crates.io-index"
563+checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
564+
565+[[package]]
566+name = "libm"
567+version = "0.2.16"
568+source = "registry+https://github.com/rust-lang/crates.io-index"
569+checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
570+
571+[[package]]
572+name = "line-clipping"
573+version = "0.3.8"
574+source = "registry+https://github.com/rust-lang/crates.io-index"
575+checksum = "e752191d037c44ad111a8caa762921926658402f01cc1253f7bef2020ece4f5e"
576+dependencies = [
577+ "bitflags 2.13.2",
578+]
579+
580+[[package]]
581+name = "linux-raw-sys"
582+version = "0.12.1"
583+source = "registry+https://github.com/rust-lang/crates.io-index"
584+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
585+
586+[[package]]
587+name = "litrs"
588+version = "1.0.1"
589+source = "registry+https://github.com/rust-lang/crates.io-index"
590+checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70"
591+
592+[[package]]
593+name = "lock_api"
594+version = "0.4.14"
595+source = "registry+https://github.com/rust-lang/crates.io-index"
596+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
597+dependencies = [
598+ "scopeguard",
599+]
600+
601+[[package]]
602+name = "log"
603+version = "0.4.34"
604+source = "registry+https://github.com/rust-lang/crates.io-index"
605+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
606+
607+[[package]]
608+name = "lru"
609+version = "0.18.5"
610+source = "registry+https://github.com/rust-lang/crates.io-index"
611+checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5"
612+dependencies = [
613+ "hashbrown",
614+]
615+
616+[[package]]
617+name = "mac_address"
618+version = "1.2.1"
619+source = "registry+https://github.com/rust-lang/crates.io-index"
620+checksum = "f3d0581a75c45969c63afd2bb87b1d8b25cfcc556c7a918cf9bb13b0fe8d2381"
621+dependencies = [
622+ "nix 0.31.3",
623+ "windows-sys",
624+]
625+
626+[[package]]
627+name = "memchr"
628+version = "2.8.3"
629+source = "registry+https://github.com/rust-lang/crates.io-index"
630+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
631+
632+[[package]]
633+name = "memmem"
634+version = "0.1.1"
635+source = "registry+https://github.com/rust-lang/crates.io-index"
636+checksum = "a64a92489e2744ce060c349162be1c5f33c6969234104dbd99ddb5feb08b8c15"
637+
638+[[package]]
639+name = "memoffset"
640+version = "0.9.1"
641+source = "registry+https://github.com/rust-lang/crates.io-index"
642+checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
643+dependencies = [
644+ "autocfg",
645+]
646+
647+[[package]]
648+name = "minimal-lexical"
649+version = "0.2.1"
650+source = "registry+https://github.com/rust-lang/crates.io-index"
651+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
652+
653+[[package]]
654+name = "mio"
655+version = "1.2.4"
656+source = "registry+https://github.com/rust-lang/crates.io-index"
657+checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
658+dependencies = [
659+ "libc",
660+ "log",
661+ "wasi",
662+ "windows-sys",
663+]
664+
665+[[package]]
666+name = "nix"
667+version = "0.29.0"
668+source = "registry+https://github.com/rust-lang/crates.io-index"
669+checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
670+dependencies = [
671+ "bitflags 2.13.2",
672+ "cfg-if",
673+ "cfg_aliases",
674+ "libc",
675+]
676+
677+[[package]]
678+name = "nix"
679+version = "0.31.3"
680+source = "registry+https://github.com/rust-lang/crates.io-index"
681+checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
682+dependencies = [
683+ "bitflags 2.13.2",
684+ "cfg-if",
685+ "cfg_aliases",
686+ "libc",
687+ "memoffset",
688+]
689+
690+[[package]]
691+name = "nom"
692+version = "7.1.3"
693+source = "registry+https://github.com/rust-lang/crates.io-index"
694+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
695+dependencies = [
696+ "memchr",
697+ "minimal-lexical",
698+]
699+
700+[[package]]
701+name = "num-conv"
702+version = "0.2.2"
703+source = "registry+https://github.com/rust-lang/crates.io-index"
704+checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
705+
706+[[package]]
707+name = "num-derive"
708+version = "0.4.2"
709+source = "registry+https://github.com/rust-lang/crates.io-index"
710+checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
711+dependencies = [
712+ "proc-macro2",
713+ "quote",
714+ "syn 2.0.119",
715+]
716+
717+[[package]]
718+name = "num-traits"
719+version = "0.2.19"
720+source = "registry+https://github.com/rust-lang/crates.io-index"
721+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
722+dependencies = [
723+ "autocfg",
724+]
725+
726+[[package]]
727+name = "num_threads"
728+version = "0.1.8"
729+source = "registry+https://github.com/rust-lang/crates.io-index"
730+checksum = "cabcc654086861f9e1bc5115258de62ef92c79b20f4615a1b0cc57c4e82027d4"
731+dependencies = [
732+ "libc",
733+]
734+
735+[[package]]
736+name = "once_cell"
737+version = "1.21.4"
738+source = "registry+https://github.com/rust-lang/crates.io-index"
739+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
740+
741+[[package]]
742+name = "ordered-float"
743+version = "4.6.0"
744+source = "registry+https://github.com/rust-lang/crates.io-index"
745+checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951"
746+dependencies = [
747+ "num-traits",
748+]
749+
750+[[package]]
751+name = "palette"
752+version = "0.7.7"
753+source = "registry+https://github.com/rust-lang/crates.io-index"
754+checksum = "ddeed8580d347d2abf3dcf06a5f0b3dc020258338526b277847cd4248a70fc64"
755+dependencies = [
756+ "approx",
757+ "libm",
758+ "palette_derive",
759+ "palette_math",
760+]
761+
762+[[package]]
763+name = "palette_derive"
764+version = "0.7.7"
765+source = "registry+https://github.com/rust-lang/crates.io-index"
766+checksum = "88537020289b719d81be994ccf1bbf4990f477e2f69ee52fe3e45f43a02e56be"
767+dependencies = [
768+ "by_address",
769+ "proc-macro2",
770+ "quote",
771+ "syn 2.0.119",
772+]
773+
774+[[package]]
775+name = "palette_math"
776+version = "0.7.7"
777+source = "registry+https://github.com/rust-lang/crates.io-index"
778+checksum = "6e6eb142958d64335fb0e345c5b9ead2ecd6fc438c307e9d7d3c4fd428dbaf12"
779+dependencies = [
780+ "libm",
781+]
782+
783+[[package]]
784+name = "parking_lot"
785+version = "0.12.5"
786+source = "registry+https://github.com/rust-lang/crates.io-index"
787+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
788+dependencies = [
789+ "lock_api",
790+ "parking_lot_core",
791+]
792+
793+[[package]]
794+name = "parking_lot_core"
795+version = "0.9.12"
796+source = "registry+https://github.com/rust-lang/crates.io-index"
797+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
798+dependencies = [
799+ "cfg-if",
800+ "libc",
801+ "redox_syscall",
802+ "smallvec",
803+ "windows-link",
804+]
805+
806+[[package]]
807+name = "pest"
808+version = "2.9.4"
809+source = "registry+https://github.com/rust-lang/crates.io-index"
810+checksum = "fd47a460a9cbc3b3429c7e22bf0d76653e779319bae45a499ca010c9a990bb23"
811+dependencies = [
812+ "memchr",
813+ "psm",
814+ "stacker",
815+ "ucd-trie",
816+]
817+
818+[[package]]
819+name = "pest_derive"
820+version = "2.9.4"
821+source = "registry+https://github.com/rust-lang/crates.io-index"
822+checksum = "203e46697708f7519ab1608393cf89239cafb46b8e6d08a8ffe359359b11ef44"
823+dependencies = [
824+ "pest",
825+ "pest_generator",
826+]
827+
828+[[package]]
829+name = "pest_generator"
830+version = "2.9.4"
831+source = "registry+https://github.com/rust-lang/crates.io-index"
832+checksum = "e84ae6340a458d3d6cfc73cf328cf3cfe90b2484cd0de25eb66aa954615ed4d5"
833+dependencies = [
834+ "pest",
835+ "pest_meta",
836+ "proc-macro2",
837+ "quote",
838+ "syn 3.0.9",
839+]
840+
841+[[package]]
842+name = "pest_meta"
843+version = "2.9.4"
844+source = "registry+https://github.com/rust-lang/crates.io-index"
845+checksum = "b57f92f32b3dbce6598fd8f5cdf1f06a6072570b8103fa21728fa9036923e710"
846+dependencies = [
847+ "pest",
848+]
849+
850+[[package]]
851+name = "phf"
852+version = "0.11.3"
853+source = "registry+https://github.com/rust-lang/crates.io-index"
854+checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
855+dependencies = [
856+ "phf_macros",
857+ "phf_shared",
858+]
859+
860+[[package]]
861+name = "phf_codegen"
862+version = "0.11.3"
863+source = "registry+https://github.com/rust-lang/crates.io-index"
864+checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
865+dependencies = [
866+ "phf_generator",
867+ "phf_shared",
868+]
869+
870+[[package]]
871+name = "phf_generator"
872+version = "0.11.3"
873+source = "registry+https://github.com/rust-lang/crates.io-index"
874+checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
875+dependencies = [
876+ "phf_shared",
877+ "rand",
878+]
879+
880+[[package]]
881+name = "phf_macros"
882+version = "0.11.3"
883+source = "registry+https://github.com/rust-lang/crates.io-index"
884+checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
885+dependencies = [
886+ "phf_generator",
887+ "phf_shared",
888+ "proc-macro2",
889+ "quote",
890+ "syn 2.0.119",
891+]
892+
893+[[package]]
894+name = "phf_shared"
895+version = "0.11.3"
896+source = "registry+https://github.com/rust-lang/crates.io-index"
897+checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
898+dependencies = [
899+ "siphasher",
900+]
901+
902+[[package]]
903+name = "pin-project-lite"
904+version = "0.2.17"
905+source = "registry+https://github.com/rust-lang/crates.io-index"
906+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
907+
908+[[package]]
909+name = "portable-atomic"
910+version = "1.15.0"
911+source = "registry+https://github.com/rust-lang/crates.io-index"
912+checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
913+
914+[[package]]
915+name = "powerfmt"
916+version = "0.2.1"
917+source = "registry+https://github.com/rust-lang/crates.io-index"
918+checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958"
919+
920+[[package]]
921+name = "proc-macro2"
922+version = "1.0.107"
923+source = "registry+https://github.com/rust-lang/crates.io-index"
924+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
925+dependencies = [
926+ "unicode-ident",
927+]
928+
929+[[package]]
930+name = "psm"
931+version = "0.1.24"
932+source = "registry+https://github.com/rust-lang/crates.io-index"
933+checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810"
934+dependencies = [
935+ "cc",
936+]
937+
938+[[package]]
939+name = "quote"
940+version = "1.0.47"
941+source = "registry+https://github.com/rust-lang/crates.io-index"
942+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
943+dependencies = [
944+ "proc-macro2",
945+]
946+
947+[[package]]
948+name = "r-efi"
949+version = "5.3.0"
950+source = "registry+https://github.com/rust-lang/crates.io-index"
951+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
952+
953+[[package]]
954+name = "r-efi"
955+version = "6.0.0"
956+source = "registry+https://github.com/rust-lang/crates.io-index"
957+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
958+
959+[[package]]
960+name = "rand"
961+version = "0.8.8"
962+source = "registry+https://github.com/rust-lang/crates.io-index"
963+checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
964+dependencies = [
965+ "rand_core",
966+]
967+
968+[[package]]
969+name = "rand_core"
970+version = "0.6.4"
971+source = "registry+https://github.com/rust-lang/crates.io-index"
972+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
973+
974+[[package]]
975+name = "ratatui"
976+version = "0.30.2"
977+source = "registry+https://github.com/rust-lang/crates.io-index"
978+checksum = "3274ba0a2c5e1bcad2a2005d20f4dc59dad26b2eb0940fb094500dba4099d57d"
979+dependencies = [
980+ "instability",
981+ "ratatui-core",
982+ "ratatui-crossterm",
983+ "ratatui-macros",
984+ "ratatui-termina",
985+ "ratatui-termwiz",
986+ "ratatui-widgets",
987+ "serde",
988+]
989+
990+[[package]]
991+name = "ratatui-core"
992+version = "0.1.2"
993+source = "registry+https://github.com/rust-lang/crates.io-index"
994+checksum = "cbb175c433c8e28a809d1f5773a2ae96e68c0ce40db865cbab1020bf33ae479c"
995+dependencies = [
996+ "bitflags 2.13.2",
997+ "compact_str",
998+ "critical-section",
999+ "hashbrown",
1000+ "itertools",
1001+ "kasuari",
1002+ "lru",
1003+ "palette",
1004+ "serde",
1005+ "strum",
1006+ "thiserror 2.0.21",
1007+ "unicode-segmentation",
1008+ "unicode-truncate",
1009+ "unicode-width",
1010+]
1011+
1012+[[package]]
1013+name = "ratatui-crossterm"
1014+version = "0.1.2"
1015+source = "registry+https://github.com/rust-lang/crates.io-index"
1016+checksum = "567584a3b0e6a8203c23de40b4861497266725eb5363dbfd18a1edd603cca9f0"
1017+dependencies = [
1018+ "cfg-if",
1019+ "crossterm",
1020+ "instability",
1021+ "ratatui-core",
1022+]
1023+
1024+[[package]]
1025+name = "ratatui-macros"
1026+version = "0.7.2"
1027+source = "registry+https://github.com/rust-lang/crates.io-index"
1028+checksum = "ed7dc68daa7498a43e4d68e0eb078427e10c38fbcfbb1e42d955f1fa2140d814"
1029+dependencies = [
1030+ "ratatui-core",
1031+ "ratatui-widgets",
1032+]
1033+
1034+[[package]]
1035+name = "ratatui-termina"
1036+version = "0.1.0"
1037+source = "registry+https://github.com/rust-lang/crates.io-index"
1038+checksum = "c0bf912d9e66f057a759d92e386a280ea886b352ab757d6ac4d653c7ed2c43c2"
1039+dependencies = [
1040+ "instability",
1041+ "ratatui-core",
1042+ "termina",
1043+]
1044+
1045+[[package]]
1046+name = "ratatui-termwiz"
1047+version = "0.1.2"
1048+source = "registry+https://github.com/rust-lang/crates.io-index"
1049+checksum = "faf03e0380b7744054d6cb74224fe3adf062a029754933f575ca1e3b4c2ce977"
1050+dependencies = [
1051+ "ratatui-core",
1052+ "termwiz",
1053+]
1054+
1055+[[package]]
1056+name = "ratatui-widgets"
1057+version = "0.3.2"
1058+source = "registry+https://github.com/rust-lang/crates.io-index"
1059+checksum = "66e3d19bcc9130ca376277d93b60767ff121ace3be06f5f95f81dd68956407d1"
1060+dependencies = [
1061+ "bitflags 2.13.2",
1062+ "hashbrown",
1063+ "indoc",
1064+ "instability",
1065+ "itertools",
1066+ "line-clipping",
1067+ "ratatui-core",
1068+ "serde",
1069+ "strum",
1070+ "time",
1071+ "unicode-segmentation",
1072+ "unicode-width",
1073+]
1074+
1075+[[package]]
1076+name = "redox_syscall"
1077+version = "0.5.18"
1078+source = "registry+https://github.com/rust-lang/crates.io-index"
1079+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
1080+dependencies = [
1081+ "bitflags 2.13.2",
1082+]
1083+
1084+[[package]]
1085+name = "regex"
1086+version = "1.13.1"
1087+source = "registry+https://github.com/rust-lang/crates.io-index"
1088+checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
1089+dependencies = [
1090+ "aho-corasick",
1091+ "memchr",
1092+ "regex-automata",
1093+ "regex-syntax",
1094+]
1095+
1096+[[package]]
1097+name = "regex-automata"
1098+version = "0.4.18"
1099+source = "registry+https://github.com/rust-lang/crates.io-index"
1100+checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
1101+dependencies = [
1102+ "aho-corasick",
1103+ "memchr",
1104+ "regex-syntax",
1105+]
1106+
1107+[[package]]
1108+name = "regex-syntax"
1109+version = "0.8.11"
1110+source = "registry+https://github.com/rust-lang/crates.io-index"
1111+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
1112+
1113+[[package]]
1114+name = "rustc_version"
1115+version = "0.4.1"
1116+source = "registry+https://github.com/rust-lang/crates.io-index"
1117+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
1118+dependencies = [
1119+ "semver",
1120+]
1121+
1122+[[package]]
1123+name = "rustix"
1124+version = "1.1.5"
1125+source = "registry+https://github.com/rust-lang/crates.io-index"
1126+checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
1127+dependencies = [
1128+ "bitflags 2.13.2",
1129+ "errno",
1130+ "libc",
1131+ "linux-raw-sys",
1132+ "windows-sys",
1133+]
1134+
1135+[[package]]
1136+name = "rustversion"
1137+version = "1.0.23"
1138+source = "registry+https://github.com/rust-lang/crates.io-index"
1139+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
1140+
1141+[[package]]
1142+name = "ryu"
1143+version = "1.0.23"
1144+source = "registry+https://github.com/rust-lang/crates.io-index"
1145+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
1146+
1147+[[package]]
1148+name = "scopeguard"
1149+version = "1.2.0"
1150+source = "registry+https://github.com/rust-lang/crates.io-index"
1151+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1152+
1153+[[package]]
1154+name = "semver"
1155+version = "1.0.28"
1156+source = "registry+https://github.com/rust-lang/crates.io-index"
1157+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
1158+
1159+[[package]]
1160+name = "serde"
1161+version = "1.0.229"
1162+source = "registry+https://github.com/rust-lang/crates.io-index"
1163+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
1164+dependencies = [
1165+ "serde_core",
1166+ "serde_derive",
1167+]
1168+
1169+[[package]]
1170+name = "serde_core"
1171+version = "1.0.229"
1172+source = "registry+https://github.com/rust-lang/crates.io-index"
1173+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
1174+dependencies = [
1175+ "serde_derive",
1176+]
1177+
1178+[[package]]
1179+name = "serde_derive"
1180+version = "1.0.229"
1181+source = "registry+https://github.com/rust-lang/crates.io-index"
1182+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
1183+dependencies = [
1184+ "proc-macro2",
1185+ "quote",
1186+ "syn 3.0.9",
1187+]
1188+
1189+[[package]]
1190+name = "sha2"
1191+version = "0.10.9"
1192+source = "registry+https://github.com/rust-lang/crates.io-index"
1193+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
1194+dependencies = [
1195+ "cfg-if",
1196+ "cpufeatures",
1197+ "digest",
1198+]
1199+
1200+[[package]]
1201+name = "shlex"
1202+version = "2.0.1"
1203+source = "registry+https://github.com/rust-lang/crates.io-index"
1204+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
1205+
1206+[[package]]
1207+name = "signal-hook"
1208+version = "0.3.18"
1209+source = "registry+https://github.com/rust-lang/crates.io-index"
1210+checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
1211+dependencies = [
1212+ "libc",
1213+ "signal-hook-registry",
1214+]
1215+
1216+[[package]]
1217+name = "signal-hook-mio"
1218+version = "0.2.5"
1219+source = "registry+https://github.com/rust-lang/crates.io-index"
1220+checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
1221+dependencies = [
1222+ "libc",
1223+ "mio",
1224+ "signal-hook",
1225+]
1226+
1227+[[package]]
1228+name = "signal-hook-registry"
1229+version = "1.4.8"
1230+source = "registry+https://github.com/rust-lang/crates.io-index"
1231+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
1232+dependencies = [
1233+ "errno",
1234+ "libc",
1235+]
1236+
1237+[[package]]
1238+name = "siphasher"
1239+version = "1.0.4"
1240+source = "registry+https://github.com/rust-lang/crates.io-index"
1241+checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
1242+
1243+[[package]]
1244+name = "slab"
1245+version = "0.4.12"
1246+source = "registry+https://github.com/rust-lang/crates.io-index"
1247+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
1248+
1249+[[package]]
1250+name = "smallvec"
1251+version = "1.16.3"
1252+source = "registry+https://github.com/rust-lang/crates.io-index"
1253+checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
1254+
1255+[[package]]
1256+name = "stacker"
1257+version = "0.1.25"
1258+source = "registry+https://github.com/rust-lang/crates.io-index"
1259+checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967"
1260+dependencies = [
1261+ "cc",
1262+ "cfg-if",
1263+ "libc",
1264+ "psm",
1265+ "windows-sys",
1266+]
1267+
1268+[[package]]
1269+name = "static_assertions"
1270+version = "1.1.0"
1271+source = "registry+https://github.com/rust-lang/crates.io-index"
1272+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1273+
1274+[[package]]
1275+name = "strsim"
1276+version = "0.11.1"
1277+source = "registry+https://github.com/rust-lang/crates.io-index"
1278+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1279+
1280+[[package]]
1281+name = "strum"
1282+version = "0.28.0"
1283+source = "registry+https://github.com/rust-lang/crates.io-index"
1284+checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
1285+dependencies = [
1286+ "strum_macros",
1287+]
1288+
1289+[[package]]
1290+name = "strum_macros"
1291+version = "0.28.0"
1292+source = "registry+https://github.com/rust-lang/crates.io-index"
1293+checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
1294+dependencies = [
1295+ "heck",
1296+ "proc-macro2",
1297+ "quote",
1298+ "syn 2.0.119",
1299+]
1300+
1301+[[package]]
1302+name = "syn"
1303+version = "1.0.109"
1304+source = "registry+https://github.com/rust-lang/crates.io-index"
1305+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
1306+dependencies = [
1307+ "proc-macro2",
1308+ "quote",
1309+ "unicode-ident",
1310+]
1311+
1312+[[package]]
1313+name = "syn"
1314+version = "2.0.119"
1315+source = "registry+https://github.com/rust-lang/crates.io-index"
1316+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
1317+dependencies = [
1318+ "proc-macro2",
1319+ "quote",
1320+ "unicode-ident",
1321+]
1322+
1323+[[package]]
1324+name = "syn"
1325+version = "3.0.9"
1326+source = "registry+https://github.com/rust-lang/crates.io-index"
1327+checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
1328+dependencies = [
1329+ "proc-macro2",
1330+ "quote",
1331+ "unicode-ident",
1332+]
1333+
1334+[[package]]
1335+name = "termina"
1336+version = "0.3.3"
1337+source = "registry+https://github.com/rust-lang/crates.io-index"
1338+checksum = "9048a889effe34a5cddee0af7f53285198b16dca3be510858d38dfdb3e62a04e"
1339+dependencies = [
1340+ "bitflags 2.13.2",
1341+ "parking_lot",
1342+ "rustix",
1343+ "signal-hook",
1344+ "windows-sys",
1345+]
1346+
1347+[[package]]
1348+name = "terminfo"
1349+version = "0.9.0"
1350+source = "registry+https://github.com/rust-lang/crates.io-index"
1351+checksum = "d4ea810f0692f9f51b382fff5893887bb4580f5fa246fde546e0b13e7fcee662"
1352+dependencies = [
1353+ "fnv",
1354+ "nom",
1355+ "phf",
1356+ "phf_codegen",
1357+]
1358+
1359+[[package]]
1360+name = "termios"
1361+version = "0.3.3"
1362+source = "registry+https://github.com/rust-lang/crates.io-index"
1363+checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b"
1364+dependencies = [
1365+ "libc",
1366+]
1367+
1368+[[package]]
1369+name = "termwiz"
1370+version = "0.23.3"
1371+source = "registry+https://github.com/rust-lang/crates.io-index"
1372+checksum = "4676b37242ccbd1aabf56edb093a4827dc49086c0ffd764a5705899e0f35f8f7"
1373+dependencies = [
1374+ "anyhow",
1375+ "base64",
1376+ "bitflags 2.13.2",
1377+ "fancy-regex",
1378+ "filedescriptor",
1379+ "finl_unicode",
1380+ "fixedbitset",
1381+ "hex",
1382+ "lazy_static",
1383+ "libc",
1384+ "log",
1385+ "memmem",
1386+ "nix 0.29.0",
1387+ "num-derive",
1388+ "num-traits",
1389+ "ordered-float",
1390+ "pest",
1391+ "pest_derive",
1392+ "phf",
1393+ "sha2",
1394+ "signal-hook",
1395+ "siphasher",
1396+ "terminfo",
1397+ "termios",
1398+ "thiserror 1.0.69",
1399+ "ucd-trie",
1400+ "unicode-segmentation",
1401+ "vtparse",
1402+ "wezterm-bidi",
1403+ "wezterm-blob-leases",
1404+ "wezterm-color-types",
1405+ "wezterm-dynamic",
1406+ "wezterm-input-types",
1407+ "winapi",
1408+]
1409+
1410+[[package]]
1411+name = "thiserror"
1412+version = "1.0.69"
1413+source = "registry+https://github.com/rust-lang/crates.io-index"
1414+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1415+dependencies = [
1416+ "thiserror-impl 1.0.69",
1417+]
1418+
1419+[[package]]
1420+name = "thiserror"
1421+version = "2.0.21"
1422+source = "registry+https://github.com/rust-lang/crates.io-index"
1423+checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
1424+dependencies = [
1425+ "thiserror-impl 2.0.21",
1426+]
1427+
1428+[[package]]
1429+name = "thiserror-impl"
1430+version = "1.0.69"
1431+source = "registry+https://github.com/rust-lang/crates.io-index"
1432+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1433+dependencies = [
1434+ "proc-macro2",
1435+ "quote",
1436+ "syn 2.0.119",
1437+]
1438+
1439+[[package]]
1440+name = "thiserror-impl"
1441+version = "2.0.21"
1442+source = "registry+https://github.com/rust-lang/crates.io-index"
1443+checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
1444+dependencies = [
1445+ "proc-macro2",
1446+ "quote",
1447+ "syn 3.0.9",
1448+]
1449+
1450+[[package]]
1451+name = "time"
1452+version = "0.3.55"
1453+source = "registry+https://github.com/rust-lang/crates.io-index"
1454+checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
1455+dependencies = [
1456+ "deranged",
1457+ "libc",
1458+ "num-conv",
1459+ "num_threads",
1460+ "powerfmt",
1461+ "serde_core",
1462+ "time-core",
1463+]
1464+
1465+[[package]]
1466+name = "time-core"
1467+version = "0.1.9"
1468+source = "registry+https://github.com/rust-lang/crates.io-index"
1469+checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
1470+
1471+[[package]]
1472+name = "typenum"
1473+version = "1.20.1"
1474+source = "registry+https://github.com/rust-lang/crates.io-index"
1475+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
1476+
1477+[[package]]
1478+name = "ucd-trie"
1479+version = "0.1.7"
1480+source = "registry+https://github.com/rust-lang/crates.io-index"
1481+checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
1482+
1483+[[package]]
1484+name = "unicode-ident"
1485+version = "1.0.27"
1486+source = "registry+https://github.com/rust-lang/crates.io-index"
1487+checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
1488+
1489+[[package]]
1490+name = "unicode-segmentation"
1491+version = "1.13.3"
1492+source = "registry+https://github.com/rust-lang/crates.io-index"
1493+checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
1494+
1495+[[package]]
1496+name = "unicode-truncate"
1497+version = "2.0.1"
1498+source = "registry+https://github.com/rust-lang/crates.io-index"
1499+checksum = "16b380a1238663e5f8a691f9039c73e1cdae598a30e9855f541d29b08b53e9a5"
1500+dependencies = [
1501+ "itertools",
1502+ "unicode-segmentation",
1503+ "unicode-width",
1504+]
1505+
1506+[[package]]
1507+name = "unicode-width"
1508+version = "0.2.2"
1509+source = "registry+https://github.com/rust-lang/crates.io-index"
1510+checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
1511+
1512+[[package]]
1513+name = "utf8parse"
1514+version = "0.2.2"
1515+source = "registry+https://github.com/rust-lang/crates.io-index"
1516+checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1517+
1518+[[package]]
1519+name = "uuid"
1520+version = "1.28.0"
1521+source = "registry+https://github.com/rust-lang/crates.io-index"
1522+checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606"
1523+dependencies = [
1524+ "atomic",
1525+ "getrandom 0.4.3",
1526+ "js-sys",
1527+ "wasm-bindgen",
1528+]
1529+
1530+[[package]]
1531+name = "version_check"
1532+version = "0.9.5"
1533+source = "registry+https://github.com/rust-lang/crates.io-index"
1534+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1535+
1536+[[package]]
1537+name = "vtparse"
1538+version = "0.6.2"
1539+source = "registry+https://github.com/rust-lang/crates.io-index"
1540+checksum = "6d9b2acfb050df409c972a37d3b8e08cdea3bddb0c09db9d53137e504cfabed0"
1541+dependencies = [
1542+ "utf8parse",
1543+]
1544+
1545+[[package]]
1546+name = "wasi"
1547+version = "0.11.1+wasi-snapshot-preview1"
1548+source = "registry+https://github.com/rust-lang/crates.io-index"
1549+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1550+
1551+[[package]]
1552+name = "wasip2"
1553+version = "1.0.4+wasi-0.2.12"
1554+source = "registry+https://github.com/rust-lang/crates.io-index"
1555+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
1556+dependencies = [
1557+ "wit-bindgen",
1558+]
1559+
1560+[[package]]
1561+name = "wasm-bindgen"
1562+version = "0.2.129"
1563+source = "registry+https://github.com/rust-lang/crates.io-index"
1564+checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
1565+dependencies = [
1566+ "cfg-if",
1567+ "once_cell",
1568+ "rustversion",
1569+ "wasm-bindgen-macro",
1570+ "wasm-bindgen-shared",
1571+]
1572+
1573+[[package]]
1574+name = "wasm-bindgen-macro"
1575+version = "0.2.129"
1576+source = "registry+https://github.com/rust-lang/crates.io-index"
1577+checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
1578+dependencies = [
1579+ "quote",
1580+ "wasm-bindgen-macro-support",
1581+]
1582+
1583+[[package]]
1584+name = "wasm-bindgen-macro-support"
1585+version = "0.2.129"
1586+source = "registry+https://github.com/rust-lang/crates.io-index"
1587+checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
1588+dependencies = [
1589+ "bumpalo",
1590+ "proc-macro2",
1591+ "quote",
1592+ "syn 3.0.9",
1593+ "wasm-bindgen-shared",
1594+]
1595+
1596+[[package]]
1597+name = "wasm-bindgen-shared"
1598+version = "0.2.129"
1599+source = "registry+https://github.com/rust-lang/crates.io-index"
1600+checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
1601+dependencies = [
1602+ "unicode-ident",
1603+]
1604+
1605+[[package]]
1606+name = "wezterm-bidi"
1607+version = "0.2.3"
1608+source = "registry+https://github.com/rust-lang/crates.io-index"
1609+checksum = "0c0a6e355560527dd2d1cf7890652f4f09bb3433b6aadade4c9b5ed76de5f3ec"
1610+dependencies = [
1611+ "log",
1612+ "wezterm-dynamic",
1613+]
1614+
1615+[[package]]
1616+name = "wezterm-blob-leases"
1617+version = "0.1.1"
1618+source = "registry+https://github.com/rust-lang/crates.io-index"
1619+checksum = "692daff6d93d94e29e4114544ef6d5c942a7ed998b37abdc19b17136ea428eb7"
1620+dependencies = [
1621+ "getrandom 0.3.4",
1622+ "mac_address",
1623+ "sha2",
1624+ "thiserror 1.0.69",
1625+ "uuid",
1626+]
1627+
1628+[[package]]
1629+name = "wezterm-color-types"
1630+version = "0.3.0"
1631+source = "registry+https://github.com/rust-lang/crates.io-index"
1632+checksum = "7de81ef35c9010270d63772bebef2f2d6d1f2d20a983d27505ac850b8c4b4296"
1633+dependencies = [
1634+ "csscolorparser",
1635+ "deltae",
1636+ "lazy_static",
1637+ "wezterm-dynamic",
1638+]
1639+
1640+[[package]]
1641+name = "wezterm-dynamic"
1642+version = "0.2.1"
1643+source = "registry+https://github.com/rust-lang/crates.io-index"
1644+checksum = "5f2ab60e120fd6eaa68d9567f3226e876684639d22a4219b313ff69ec0ccd5ac"
1645+dependencies = [
1646+ "log",
1647+ "ordered-float",
1648+ "strsim",
1649+ "thiserror 1.0.69",
1650+ "wezterm-dynamic-derive",
1651+]
1652+
1653+[[package]]
1654+name = "wezterm-dynamic-derive"
1655+version = "0.1.1"
1656+source = "registry+https://github.com/rust-lang/crates.io-index"
1657+checksum = "46c0cf2d539c645b448eaffec9ec494b8b19bd5077d9e58cb1ae7efece8d575b"
1658+dependencies = [
1659+ "proc-macro2",
1660+ "quote",
1661+ "syn 1.0.109",
1662+]
1663+
1664+[[package]]
1665+name = "wezterm-input-types"
1666+version = "0.1.0"
1667+source = "registry+https://github.com/rust-lang/crates.io-index"
1668+checksum = "7012add459f951456ec9d6c7e6fc340b1ce15d6fc9629f8c42853412c029e57e"
1669+dependencies = [
1670+ "bitflags 1.3.2",
1671+ "euclid",
1672+ "lazy_static",
1673+ "serde",
1674+ "wezterm-dynamic",
1675+]
1676+
1677+[[package]]
1678+name = "winapi"
1679+version = "0.3.9"
1680+source = "registry+https://github.com/rust-lang/crates.io-index"
1681+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1682+dependencies = [
1683+ "winapi-i686-pc-windows-gnu",
1684+ "winapi-x86_64-pc-windows-gnu",
1685+]
1686+
1687+[[package]]
1688+name = "winapi-i686-pc-windows-gnu"
1689+version = "0.4.0"
1690+source = "registry+https://github.com/rust-lang/crates.io-index"
1691+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1692+
1693+[[package]]
1694+name = "winapi-x86_64-pc-windows-gnu"
1695+version = "0.4.0"
1696+source = "registry+https://github.com/rust-lang/crates.io-index"
1697+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1698+
1699+[[package]]
1700+name = "windows-link"
1701+version = "0.2.1"
1702+source = "registry+https://github.com/rust-lang/crates.io-index"
1703+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1704+
1705+[[package]]
1706+name = "windows-sys"
1707+version = "0.61.2"
1708+source = "registry+https://github.com/rust-lang/crates.io-index"
1709+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1710+dependencies = [
1711+ "windows-link",
1712+]
1713+
1714+[[package]]
1715+name = "wit-bindgen"
1716+version = "0.57.1"
1717+source = "registry+https://github.com/rust-lang/crates.io-index"
1718+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
new file mode 100644
@@ -0,0 +1,1718 @@
1+# This file is automatically @generated by Cargo.
2+# It is not intended for manual editing.
3+version = 4
4+
5+[[package]]
6+name = "aho-corasick"
7+version = "1.1.5"
8+source = "registry+https://github.com/rust-lang/crates.io-index"
9+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10+dependencies = [
11+ "memchr",
12+]
13+
14+[[package]]
15+name = "allocator-api2"
16+version = "0.2.21"
17+source = "registry+https://github.com/rust-lang/crates.io-index"
18+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19+
20+[[package]]
21+name = "anyhow"
22+version = "1.0.104"
23+source = "registry+https://github.com/rust-lang/crates.io-index"
24+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
25+
26+[[package]]
27+name = "approx"
28+version = "0.5.1"
29+source = "registry+https://github.com/rust-lang/crates.io-index"
30+checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
31+dependencies = [
32+ "num-traits",
33+]
34+
35+[[package]]
36+name = "atomic"
37+version = "0.6.1"
38+source = "registry+https://github.com/rust-lang/crates.io-index"
39+checksum = "a89cbf775b137e9b968e67227ef7f775587cde3fd31b0d8599dbd0f598a48340"
40+dependencies = [
41+ "bytemuck",
42+]
43+
44+[[package]]
45+name = "autocfg"
46+version = "1.5.1"
47+source = "registry+https://github.com/rust-lang/crates.io-index"
48+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
49+
50+[[package]]
51+name = "base64"
52+version = "0.22.1"
53+source = "registry+https://github.com/rust-lang/crates.io-index"
54+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
55+
56+[[package]]
57+name = "bit-set"
58+version = "0.5.3"
59+source = "registry+https://github.com/rust-lang/crates.io-index"
60+checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
61+dependencies = [
62+ "bit-vec",
63+]
64+
65+[[package]]
66+name = "bit-vec"
67+version = "0.6.3"
68+source = "registry+https://github.com/rust-lang/crates.io-index"
69+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
70+
71+[[package]]
72+name = "bitflags"
73+version = "1.3.2"
74+source = "registry+https://github.com/rust-lang/crates.io-index"
75+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
76+
77+[[package]]
78+name = "bitflags"
79+version = "2.13.2"
80+source = "registry+https://github.com/rust-lang/crates.io-index"
81+checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
82+
83+[[package]]
84+name = "block-buffer"
85+version = "0.10.4"
86+source = "registry+https://github.com/rust-lang/crates.io-index"
87+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
88+dependencies = [
89+ "generic-array",
90+]
91+
92+[[package]]
93+name = "bumpalo"
94+version = "3.20.3"
95+source = "registry+https://github.com/rust-lang/crates.io-index"
96+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
97+
98+[[package]]
99+name = "by_address"
100+version = "1.2.1"
101+source = "registry+https://github.com/rust-lang/crates.io-index"
102+checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06"
103+
104+[[package]]
105+name = "bytemuck"
106+version = "1.25.2"
107+source = "registry+https://github.com/rust-lang/crates.io-index"
108+checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
109+
110+[[package]]
111+name = "castaway"
112+version = "0.2.4"
113+source = "registry+https://github.com/rust-lang/crates.io-index"
114+checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
115+dependencies = [
116+ "rustversion",
117+]
118+
119+[[package]]
120+name = "cc"
121+version = "1.9.0"
122+source = "registry+https://github.com/rust-lang/crates.io-index"
123+checksum = "877bf67ac8e52449eb2f9e98a344ea163beb70dd1f9eebe3cc5357dcfeaee4df"
124+dependencies = [
125+ "find-msvc-tools",
126+ "shlex",
127+]
128+
129+[[package]]
130+name = "cfg-if"
131+version = "1.0.5"
132+source = "registry+https://github.com/rust-lang/crates.io-index"
133+checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
134+
135+[[package]]
136+name = "cfg_aliases"
137+version = "0.2.2"
138+source = "registry+https://github.com/rust-lang/crates.io-index"
139+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
140+
141+[[package]]
142+name = "compact_str"
143+version = "0.9.1"
144+source = "registry+https://github.com/rust-lang/crates.io-index"
145+checksum = "9dfdd1c2274d9aa354115b09dc9a901d6c5576818cdf70d14cae2bdb47df00ab"
146+dependencies = [
147+ "castaway",
148+ "cfg-if",
149+ "itoa",
150+ "rustversion",
151+ "ryu",
152+ "static_assertions",
153+]
154+
155+[[package]]
156+name = "convert_case"
157+version = "0.10.0"
158+source = "registry+https://github.com/rust-lang/crates.io-index"
159+checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
160+dependencies = [
161+ "unicode-segmentation",
162+]
163+
164+[[package]]
165+name = "cpufeatures"
166+version = "0.2.17"
167+source = "registry+https://github.com/rust-lang/crates.io-index"
168+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
169+dependencies = [
170+ "libc",
171+]
172+
173+[[package]]
174+name = "critical-section"
175+version = "1.2.0"
176+source = "registry+https://github.com/rust-lang/crates.io-index"
177+checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
178+
179+[[package]]
180+name = "crossterm"
181+version = "0.29.0"
182+source = "registry+https://github.com/rust-lang/crates.io-index"
183+checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b"
184+dependencies = [
185+ "bitflags 2.13.2",
186+ "crossterm_winapi",
187+ "derive_more",
188+ "document-features",
189+ "mio",
190+ "parking_lot",
191+ "rustix",
192+ "signal-hook",
193+ "signal-hook-mio",
194+ "winapi",
195+]
196+
197+[[package]]
198+name = "crossterm_winapi"
199+version = "0.9.1"
200+source = "registry+https://github.com/rust-lang/crates.io-index"
201+checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
202+dependencies = [
203+ "winapi",
204+]
205+
206+[[package]]
207+name = "crypto-common"
208+version = "0.1.7"
209+source = "registry+https://github.com/rust-lang/crates.io-index"
210+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
211+dependencies = [
212+ "generic-array",
213+ "typenum",
214+]
215+
216+[[package]]
217+name = "csscolorparser"
218+version = "0.6.2"
219+source = "registry+https://github.com/rust-lang/crates.io-index"
220+checksum = "eb2a7d3066da2de787b7f032c736763eb7ae5d355f81a68bab2675a96008b0bf"
221+dependencies = [
222+ "lab",
223+ "phf",
224+]
225+
226+[[package]]
227+name = "darling"
228+version = "0.24.1"
229+source = "registry+https://github.com/rust-lang/crates.io-index"
230+checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
231+dependencies = [
232+ "darling_core",
233+ "darling_macro",
234+]
235+
236+[[package]]
237+name = "darling_core"
238+version = "0.24.1"
239+source = "registry+https://github.com/rust-lang/crates.io-index"
240+checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
241+dependencies = [
242+ "ident_case",
243+ "proc-macro2",
244+ "quote",
245+ "strsim",
246+ "syn 3.0.9",
247+]
248+
249+[[package]]
250+name = "darling_macro"
251+version = "0.24.1"
252+source = "registry+https://github.com/rust-lang/crates.io-index"
253+checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
254+dependencies = [
255+ "darling_core",
256+ "quote",
257+ "syn 3.0.9",
258+]
259+
260+[[package]]
261+name = "deltae"
262+version = "0.3.2"
263+source = "registry+https://github.com/rust-lang/crates.io-index"
264+checksum = "5729f5117e208430e437df2f4843f5e5952997175992d1414f94c57d61e270b4"
265+
266+[[package]]
267+name = "deranged"
268+version = "0.5.9"
269+source = "registry+https://github.com/rust-lang/crates.io-index"
270+checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
271+
272+[[package]]
273+name = "derive_more"
274+version = "2.1.1"
275+source = "registry+https://github.com/rust-lang/crates.io-index"
276+checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
277+dependencies = [
278+ "derive_more-impl",
279+]
280+
281+[[package]]
282+name = "derive_more-impl"
283+version = "2.1.1"
284+source = "registry+https://github.com/rust-lang/crates.io-index"
285+checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
286+dependencies = [
287+ "convert_case",
288+ "proc-macro2",
289+ "quote",
290+ "rustc_version",
291+ "syn 2.0.119",
292+]
293+
294+[[package]]
295+name = "digest"
296+version = "0.10.7"
297+source = "registry+https://github.com/rust-lang/crates.io-index"
298+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
299+dependencies = [
300+ "block-buffer",
301+ "crypto-common",
302+]
303+
304+[[package]]
305+name = "document-features"
306+version = "0.2.12"
307+source = "registry+https://github.com/rust-lang/crates.io-index"
308+checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
309+dependencies = [
310+ "litrs",
311+]
312+
313+[[package]]
314+name = "either"
315+version = "1.19.0"
316+source = "registry+https://github.com/rust-lang/crates.io-index"
317+checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
318+
319+[[package]]
320+name = "equivalent"
321+version = "1.0.3"
322+source = "registry+https://github.com/rust-lang/crates.io-index"
323+checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
324+
325+[[package]]
326+name = "errno"
327+version = "0.3.14"
328+source = "registry+https://github.com/rust-lang/crates.io-index"
329+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
330+dependencies = [
331+ "libc",
332+ "windows-sys",
333+]
334+
335+[[package]]
336+name = "euclid"
337+version = "0.22.14"
338+source = "registry+https://github.com/rust-lang/crates.io-index"
339+checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06"
340+dependencies = [
341+ "num-traits",
342+]
343+
344+[[package]]
345+name = "fancy-regex"
346+version = "0.11.0"
347+source = "registry+https://github.com/rust-lang/crates.io-index"
348+checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2"
349+dependencies = [
350+ "bit-set",
351+ "regex",
352+]
353+
354+[[package]]
355+name = "filedescriptor"
356+version = "0.8.3"
357+source = "registry+https://github.com/rust-lang/crates.io-index"
358+checksum = "e40758ed24c9b2eeb76c35fb0aebc66c626084edd827e07e1552279814c6682d"
359+dependencies = [
360+ "libc",
361+ "thiserror 1.0.69",
362+ "winapi",
363+]
364+
365+[[package]]
366+name = "find-msvc-tools"
367+version = "0.1.15"
368+source = "registry+https://github.com/rust-lang/crates.io-index"
369+checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
370+
371+[[package]]
372+name = "finl_unicode"
373+version = "1.5.0"
374+source = "registry+https://github.com/rust-lang/crates.io-index"
375+checksum = "80bb028c8b4148c9ee0cca68fcd9add6044e81d3619f48577ddf13a263d047a2"
376+
377+[[package]]
378+name = "fixedbitset"
379+version = "0.4.2"
380+source = "registry+https://github.com/rust-lang/crates.io-index"
381+checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
382+
383+[[package]]
384+name = "fnv"
385+version = "1.0.7"
386+source = "registry+https://github.com/rust-lang/crates.io-index"
387+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
388+
389+[[package]]
390+name = "foldhash"
391+version = "0.2.0"
392+source = "registry+https://github.com/rust-lang/crates.io-index"
393+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
394+
395+[[package]]
396+name = "futures-core"
397+version = "0.3.34"
398+source = "registry+https://github.com/rust-lang/crates.io-index"
399+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
400+
401+[[package]]
402+name = "futures-task"
403+version = "0.3.34"
404+source = "registry+https://github.com/rust-lang/crates.io-index"
405+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
406+
407+[[package]]
408+name = "futures-util"
409+version = "0.3.34"
410+source = "registry+https://github.com/rust-lang/crates.io-index"
411+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
412+dependencies = [
413+ "futures-core",
414+ "futures-task",
415+ "pin-project-lite",
416+ "slab",
417+]
418+
419+[[package]]
420+name = "generic-array"
421+version = "0.14.7"
422+source = "registry+https://github.com/rust-lang/crates.io-index"
423+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
424+dependencies = [
425+ "typenum",
426+ "version_check",
427+]
428+
429+[[package]]
430+name = "getrandom"
431+version = "0.3.4"
432+source = "registry+https://github.com/rust-lang/crates.io-index"
433+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
434+dependencies = [
435+ "cfg-if",
436+ "libc",
437+ "r-efi 5.3.0",
438+ "wasip2",
439+]
440+
441+[[package]]
442+name = "getrandom"
443+version = "0.4.3"
444+source = "registry+https://github.com/rust-lang/crates.io-index"
445+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
446+dependencies = [
447+ "cfg-if",
448+ "libc",
449+ "r-efi 6.0.0",
450+]
451+
452+[[package]]
453+name = "hashbrown"
454+version = "0.17.1"
455+source = "registry+https://github.com/rust-lang/crates.io-index"
456+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
457+dependencies = [
458+ "allocator-api2",
459+ "equivalent",
460+ "foldhash",
461+]
462+
463+[[package]]
464+name = "heck"
465+version = "0.5.0"
466+source = "registry+https://github.com/rust-lang/crates.io-index"
467+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
468+
469+[[package]]
470+name = "hello-ratatui"
471+version = "0.1.0"
472+dependencies = [
473+ "ratatui",
474+]
475+
476+[[package]]
477+name = "hex"
478+version = "0.4.3"
479+source = "registry+https://github.com/rust-lang/crates.io-index"
480+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
481+
482+[[package]]
483+name = "ident_case"
484+version = "1.0.1"
485+source = "registry+https://github.com/rust-lang/crates.io-index"
486+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
487+
488+[[package]]
489+name = "indoc"
490+version = "2.0.8"
491+source = "registry+https://github.com/rust-lang/crates.io-index"
492+checksum = "a37b2691796cffeb8a8cd305ac66e65841559f147f4e63231d0eafa4db5384d1"
493+dependencies = [
494+ "rustversion",
495+]
496+
497+[[package]]
498+name = "instability"
499+version = "0.3.14"
500+source = "registry+https://github.com/rust-lang/crates.io-index"
501+checksum = "4c3b5acc1e2fd9375041a388da33d1eb8aed5f7a8c0dd3543e3ea2805adfbe20"
502+dependencies = [
503+ "darling",
504+ "indoc",
505+ "proc-macro2",
506+ "quote",
507+ "syn 3.0.9",
508+]
509+
510+[[package]]
511+name = "itertools"
512+version = "0.14.0"
513+source = "registry+https://github.com/rust-lang/crates.io-index"
514+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
515+dependencies = [
516+ "either",
517+]
518+
519+[[package]]
520+name = "itoa"
521+version = "1.0.18"
522+source = "registry+https://github.com/rust-lang/crates.io-index"
523+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
524+
525+[[package]]
526+name = "js-sys"
527+version = "0.3.106"
528+source = "registry+https://github.com/rust-lang/crates.io-index"
529+checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
530+dependencies = [
531+ "cfg-if",
532+ "futures-util",
533+ "wasm-bindgen",
534+]
535+
536+[[package]]
537+name = "kasuari"
538+version = "0.4.13"
539+source = "registry+https://github.com/rust-lang/crates.io-index"
540+checksum = "72f14c90e40a6133f4805b83542a7ed7364f56070b447f56e7f4e90297122209"
541+dependencies = [
542+ "hashbrown",
543+ "portable-atomic",
544+ "thiserror 2.0.21",
545+]
546+
547+[[package]]
548+name = "lab"
549+version = "0.11.0"
550+source = "registry+https://github.com/rust-lang/crates.io-index"
551+checksum = "bf36173d4167ed999940f804952e6b08197cae5ad5d572eb4db150ce8ad5d58f"
552+
553+[[package]]
554+name = "lazy_static"
555+version = "1.5.1"
556+source = "registry+https://github.com/rust-lang/crates.io-index"
557+checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
558+
559+[[package]]
560+name = "libc"
561+version = "0.2.191"
562+source = "registry+https://github.com/rust-lang/crates.io-index"
563+checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
564+
565+[[package]]
566+name = "libm"
567+version = "0.2.16"
568+source = "registry+https://github.com/rust-lang/crates.io-index"
569+checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
570+
571+[[package]]
572+name = "line-clipping"
573+version = "0.3.8"
574+source = "registry+https://github.com/rust-lang/crates.io-index"
575+checksum = "e752191d037c44ad111a8caa762921926658402f01cc1253f7bef2020ece4f5e"
576+dependencies = [
577+ "bitflags 2.13.2",
578+]
579+
580+[[package]]
581+name = "linux-raw-sys"
582+version = "0.12.1"
583+source = "registry+https://github.com/rust-lang/crates.io-index"
584+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
585+
586+[[package]]
587+name = "litrs"
588+version = "1.0.1"
589+source = "registry+https://github.com/rust-lang/crates.io-index"
590+checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70"
591+
592+[[package]]
593+name = "lock_api"
594+version = "0.4.14"
595+source = "registry+https://github.com/rust-lang/crates.io-index"
596+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
597+dependencies = [
598+ "scopeguard",
599+]
600+
601+[[package]]
602+name = "log"
603+version = "0.4.34"
604+source = "registry+https://github.com/rust-lang/crates.io-index"
605+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
606+
607+[[package]]
608+name = "lru"
609+version = "0.18.5"
610+source = "registry+https://github.com/rust-lang/crates.io-index"
611+checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5"
612+dependencies = [
613+ "hashbrown",
614+]
615+
616+[[package]]
617+name = "mac_address"
618+version = "1.2.1"
619+source = "registry+https://github.com/rust-lang/crates.io-index"
620+checksum = "f3d0581a75c45969c63afd2bb87b1d8b25cfcc556c7a918cf9bb13b0fe8d2381"
621+dependencies = [
622+ "nix 0.31.3",
623+ "windows-sys",
624+]
625+
626+[[package]]
627+name = "memchr"
628+version = "2.8.3"
629+source = "registry+https://github.com/rust-lang/crates.io-index"
630+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
631+
632+[[package]]
633+name = "memmem"
634+version = "0.1.1"
635+source = "registry+https://github.com/rust-lang/crates.io-index"
636+checksum = "a64a92489e2744ce060c349162be1c5f33c6969234104dbd99ddb5feb08b8c15"
637+
638+[[package]]
639+name = "memoffset"
640+version = "0.9.1"
641+source = "registry+https://github.com/rust-lang/crates.io-index"
642+checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
643+dependencies = [
644+ "autocfg",
645+]
646+
647+[[package]]
648+name = "minimal-lexical"
649+version = "0.2.1"
650+source = "registry+https://github.com/rust-lang/crates.io-index"
651+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
652+
653+[[package]]
654+name = "mio"
655+version = "1.2.4"
656+source = "registry+https://github.com/rust-lang/crates.io-index"
657+checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
658+dependencies = [
659+ "libc",
660+ "log",
661+ "wasi",
662+ "windows-sys",
663+]
664+
665+[[package]]
666+name = "nix"
667+version = "0.29.0"
668+source = "registry+https://github.com/rust-lang/crates.io-index"
669+checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
670+dependencies = [
671+ "bitflags 2.13.2",
672+ "cfg-if",
673+ "cfg_aliases",
674+ "libc",
675+]
676+
677+[[package]]
678+name = "nix"
679+version = "0.31.3"
680+source = "registry+https://github.com/rust-lang/crates.io-index"
681+checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
682+dependencies = [
683+ "bitflags 2.13.2",
684+ "cfg-if",
685+ "cfg_aliases",
686+ "libc",
687+ "memoffset",
688+]
689+
690+[[package]]
691+name = "nom"
692+version = "7.1.3"
693+source = "registry+https://github.com/rust-lang/crates.io-index"
694+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
695+dependencies = [
696+ "memchr",
697+ "minimal-lexical",
698+]
699+
700+[[package]]
701+name = "num-conv"
702+version = "0.2.2"
703+source = "registry+https://github.com/rust-lang/crates.io-index"
704+checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
705+
706+[[package]]
707+name = "num-derive"
708+version = "0.4.2"
709+source = "registry+https://github.com/rust-lang/crates.io-index"
710+checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
711+dependencies = [
712+ "proc-macro2",
713+ "quote",
714+ "syn 2.0.119",
715+]
716+
717+[[package]]
718+name = "num-traits"
719+version = "0.2.19"
720+source = "registry+https://github.com/rust-lang/crates.io-index"
721+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
722+dependencies = [
723+ "autocfg",
724+]
725+
726+[[package]]
727+name = "num_threads"
728+version = "0.1.8"
729+source = "registry+https://github.com/rust-lang/crates.io-index"
730+checksum = "cabcc654086861f9e1bc5115258de62ef92c79b20f4615a1b0cc57c4e82027d4"
731+dependencies = [
732+ "libc",
733+]
734+
735+[[package]]
736+name = "once_cell"
737+version = "1.21.4"
738+source = "registry+https://github.com/rust-lang/crates.io-index"
739+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
740+
741+[[package]]
742+name = "ordered-float"
743+version = "4.6.0"
744+source = "registry+https://github.com/rust-lang/crates.io-index"
745+checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951"
746+dependencies = [
747+ "num-traits",
748+]
749+
750+[[package]]
751+name = "palette"
752+version = "0.7.7"
753+source = "registry+https://github.com/rust-lang/crates.io-index"
754+checksum = "ddeed8580d347d2abf3dcf06a5f0b3dc020258338526b277847cd4248a70fc64"
755+dependencies = [
756+ "approx",
757+ "libm",
758+ "palette_derive",
759+ "palette_math",
760+]
761+
762+[[package]]
763+name = "palette_derive"
764+version = "0.7.7"
765+source = "registry+https://github.com/rust-lang/crates.io-index"
766+checksum = "88537020289b719d81be994ccf1bbf4990f477e2f69ee52fe3e45f43a02e56be"
767+dependencies = [
768+ "by_address",
769+ "proc-macro2",
770+ "quote",
771+ "syn 2.0.119",
772+]
773+
774+[[package]]
775+name = "palette_math"
776+version = "0.7.7"
777+source = "registry+https://github.com/rust-lang/crates.io-index"
778+checksum = "6e6eb142958d64335fb0e345c5b9ead2ecd6fc438c307e9d7d3c4fd428dbaf12"
779+dependencies = [
780+ "libm",
781+]
782+
783+[[package]]
784+name = "parking_lot"
785+version = "0.12.5"
786+source = "registry+https://github.com/rust-lang/crates.io-index"
787+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
788+dependencies = [
789+ "lock_api",
790+ "parking_lot_core",
791+]
792+
793+[[package]]
794+name = "parking_lot_core"
795+version = "0.9.12"
796+source = "registry+https://github.com/rust-lang/crates.io-index"
797+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
798+dependencies = [
799+ "cfg-if",
800+ "libc",
801+ "redox_syscall",
802+ "smallvec",
803+ "windows-link",
804+]
805+
806+[[package]]
807+name = "pest"
808+version = "2.9.4"
809+source = "registry+https://github.com/rust-lang/crates.io-index"
810+checksum = "fd47a460a9cbc3b3429c7e22bf0d76653e779319bae45a499ca010c9a990bb23"
811+dependencies = [
812+ "memchr",
813+ "psm",
814+ "stacker",
815+ "ucd-trie",
816+]
817+
818+[[package]]
819+name = "pest_derive"
820+version = "2.9.4"
821+source = "registry+https://github.com/rust-lang/crates.io-index"
822+checksum = "203e46697708f7519ab1608393cf89239cafb46b8e6d08a8ffe359359b11ef44"
823+dependencies = [
824+ "pest",
825+ "pest_generator",
826+]
827+
828+[[package]]
829+name = "pest_generator"
830+version = "2.9.4"
831+source = "registry+https://github.com/rust-lang/crates.io-index"
832+checksum = "e84ae6340a458d3d6cfc73cf328cf3cfe90b2484cd0de25eb66aa954615ed4d5"
833+dependencies = [
834+ "pest",
835+ "pest_meta",
836+ "proc-macro2",
837+ "quote",
838+ "syn 3.0.9",
839+]
840+
841+[[package]]
842+name = "pest_meta"
843+version = "2.9.4"
844+source = "registry+https://github.com/rust-lang/crates.io-index"
845+checksum = "b57f92f32b3dbce6598fd8f5cdf1f06a6072570b8103fa21728fa9036923e710"
846+dependencies = [
847+ "pest",
848+]
849+
850+[[package]]
851+name = "phf"
852+version = "0.11.3"
853+source = "registry+https://github.com/rust-lang/crates.io-index"
854+checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
855+dependencies = [
856+ "phf_macros",
857+ "phf_shared",
858+]
859+
860+[[package]]
861+name = "phf_codegen"
862+version = "0.11.3"
863+source = "registry+https://github.com/rust-lang/crates.io-index"
864+checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
865+dependencies = [
866+ "phf_generator",
867+ "phf_shared",
868+]
869+
870+[[package]]
871+name = "phf_generator"
872+version = "0.11.3"
873+source = "registry+https://github.com/rust-lang/crates.io-index"
874+checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
875+dependencies = [
876+ "phf_shared",
877+ "rand",
878+]
879+
880+[[package]]
881+name = "phf_macros"
882+version = "0.11.3"
883+source = "registry+https://github.com/rust-lang/crates.io-index"
884+checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
885+dependencies = [
886+ "phf_generator",
887+ "phf_shared",
888+ "proc-macro2",
889+ "quote",
890+ "syn 2.0.119",
891+]
892+
893+[[package]]
894+name = "phf_shared"
895+version = "0.11.3"
896+source = "registry+https://github.com/rust-lang/crates.io-index"
897+checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
898+dependencies = [
899+ "siphasher",
900+]
901+
902+[[package]]
903+name = "pin-project-lite"
904+version = "0.2.17"
905+source = "registry+https://github.com/rust-lang/crates.io-index"
906+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
907+
908+[[package]]
909+name = "portable-atomic"
910+version = "1.15.0"
911+source = "registry+https://github.com/rust-lang/crates.io-index"
912+checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
913+
914+[[package]]
915+name = "powerfmt"
916+version = "0.2.1"
917+source = "registry+https://github.com/rust-lang/crates.io-index"
918+checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958"
919+
920+[[package]]
921+name = "proc-macro2"
922+version = "1.0.107"
923+source = "registry+https://github.com/rust-lang/crates.io-index"
924+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
925+dependencies = [
926+ "unicode-ident",
927+]
928+
929+[[package]]
930+name = "psm"
931+version = "0.1.24"
932+source = "registry+https://github.com/rust-lang/crates.io-index"
933+checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810"
934+dependencies = [
935+ "cc",
936+]
937+
938+[[package]]
939+name = "quote"
940+version = "1.0.47"
941+source = "registry+https://github.com/rust-lang/crates.io-index"
942+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
943+dependencies = [
944+ "proc-macro2",
945+]
946+
947+[[package]]
948+name = "r-efi"
949+version = "5.3.0"
950+source = "registry+https://github.com/rust-lang/crates.io-index"
951+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
952+
953+[[package]]
954+name = "r-efi"
955+version = "6.0.0"
956+source = "registry+https://github.com/rust-lang/crates.io-index"
957+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
958+
959+[[package]]
960+name = "rand"
961+version = "0.8.8"
962+source = "registry+https://github.com/rust-lang/crates.io-index"
963+checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
964+dependencies = [
965+ "rand_core",
966+]
967+
968+[[package]]
969+name = "rand_core"
970+version = "0.6.4"
971+source = "registry+https://github.com/rust-lang/crates.io-index"
972+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
973+
974+[[package]]
975+name = "ratatui"
976+version = "0.30.2"
977+source = "registry+https://github.com/rust-lang/crates.io-index"
978+checksum = "3274ba0a2c5e1bcad2a2005d20f4dc59dad26b2eb0940fb094500dba4099d57d"
979+dependencies = [
980+ "instability",
981+ "ratatui-core",
982+ "ratatui-crossterm",
983+ "ratatui-macros",
984+ "ratatui-termina",
985+ "ratatui-termwiz",
986+ "ratatui-widgets",
987+ "serde",
988+]
989+
990+[[package]]
991+name = "ratatui-core"
992+version = "0.1.2"
993+source = "registry+https://github.com/rust-lang/crates.io-index"
994+checksum = "cbb175c433c8e28a809d1f5773a2ae96e68c0ce40db865cbab1020bf33ae479c"
995+dependencies = [
996+ "bitflags 2.13.2",
997+ "compact_str",
998+ "critical-section",
999+ "hashbrown",
1000+ "itertools",
1001+ "kasuari",
1002+ "lru",
1003+ "palette",
1004+ "serde",
1005+ "strum",
1006+ "thiserror 2.0.21",
1007+ "unicode-segmentation",
1008+ "unicode-truncate",
1009+ "unicode-width",
1010+]
1011+
1012+[[package]]
1013+name = "ratatui-crossterm"
1014+version = "0.1.2"
1015+source = "registry+https://github.com/rust-lang/crates.io-index"
1016+checksum = "567584a3b0e6a8203c23de40b4861497266725eb5363dbfd18a1edd603cca9f0"
1017+dependencies = [
1018+ "cfg-if",
1019+ "crossterm",
1020+ "instability",
1021+ "ratatui-core",
1022+]
1023+
1024+[[package]]
1025+name = "ratatui-macros"
1026+version = "0.7.2"
1027+source = "registry+https://github.com/rust-lang/crates.io-index"
1028+checksum = "ed7dc68daa7498a43e4d68e0eb078427e10c38fbcfbb1e42d955f1fa2140d814"
1029+dependencies = [
1030+ "ratatui-core",
1031+ "ratatui-widgets",
1032+]
1033+
1034+[[package]]
1035+name = "ratatui-termina"
1036+version = "0.1.0"
1037+source = "registry+https://github.com/rust-lang/crates.io-index"
1038+checksum = "c0bf912d9e66f057a759d92e386a280ea886b352ab757d6ac4d653c7ed2c43c2"
1039+dependencies = [
1040+ "instability",
1041+ "ratatui-core",
1042+ "termina",
1043+]
1044+
1045+[[package]]
1046+name = "ratatui-termwiz"
1047+version = "0.1.2"
1048+source = "registry+https://github.com/rust-lang/crates.io-index"
1049+checksum = "faf03e0380b7744054d6cb74224fe3adf062a029754933f575ca1e3b4c2ce977"
1050+dependencies = [
1051+ "ratatui-core",
1052+ "termwiz",
1053+]
1054+
1055+[[package]]
1056+name = "ratatui-widgets"
1057+version = "0.3.2"
1058+source = "registry+https://github.com/rust-lang/crates.io-index"
1059+checksum = "66e3d19bcc9130ca376277d93b60767ff121ace3be06f5f95f81dd68956407d1"
1060+dependencies = [
1061+ "bitflags 2.13.2",
1062+ "hashbrown",
1063+ "indoc",
1064+ "instability",
1065+ "itertools",
1066+ "line-clipping",
1067+ "ratatui-core",
1068+ "serde",
1069+ "strum",
1070+ "time",
1071+ "unicode-segmentation",
1072+ "unicode-width",
1073+]
1074+
1075+[[package]]
1076+name = "redox_syscall"
1077+version = "0.5.18"
1078+source = "registry+https://github.com/rust-lang/crates.io-index"
1079+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
1080+dependencies = [
1081+ "bitflags 2.13.2",
1082+]
1083+
1084+[[package]]
1085+name = "regex"
1086+version = "1.13.1"
1087+source = "registry+https://github.com/rust-lang/crates.io-index"
1088+checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
1089+dependencies = [
1090+ "aho-corasick",
1091+ "memchr",
1092+ "regex-automata",
1093+ "regex-syntax",
1094+]
1095+
1096+[[package]]
1097+name = "regex-automata"
1098+version = "0.4.18"
1099+source = "registry+https://github.com/rust-lang/crates.io-index"
1100+checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
1101+dependencies = [
1102+ "aho-corasick",
1103+ "memchr",
1104+ "regex-syntax",
1105+]
1106+
1107+[[package]]
1108+name = "regex-syntax"
1109+version = "0.8.11"
1110+source = "registry+https://github.com/rust-lang/crates.io-index"
1111+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
1112+
1113+[[package]]
1114+name = "rustc_version"
1115+version = "0.4.1"
1116+source = "registry+https://github.com/rust-lang/crates.io-index"
1117+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
1118+dependencies = [
1119+ "semver",
1120+]
1121+
1122+[[package]]
1123+name = "rustix"
1124+version = "1.1.5"
1125+source = "registry+https://github.com/rust-lang/crates.io-index"
1126+checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
1127+dependencies = [
1128+ "bitflags 2.13.2",
1129+ "errno",
1130+ "libc",
1131+ "linux-raw-sys",
1132+ "windows-sys",
1133+]
1134+
1135+[[package]]
1136+name = "rustversion"
1137+version = "1.0.23"
1138+source = "registry+https://github.com/rust-lang/crates.io-index"
1139+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
1140+
1141+[[package]]
1142+name = "ryu"
1143+version = "1.0.23"
1144+source = "registry+https://github.com/rust-lang/crates.io-index"
1145+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
1146+
1147+[[package]]
1148+name = "scopeguard"
1149+version = "1.2.0"
1150+source = "registry+https://github.com/rust-lang/crates.io-index"
1151+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1152+
1153+[[package]]
1154+name = "semver"
1155+version = "1.0.28"
1156+source = "registry+https://github.com/rust-lang/crates.io-index"
1157+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
1158+
1159+[[package]]
1160+name = "serde"
1161+version = "1.0.229"
1162+source = "registry+https://github.com/rust-lang/crates.io-index"
1163+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
1164+dependencies = [
1165+ "serde_core",
1166+ "serde_derive",
1167+]
1168+
1169+[[package]]
1170+name = "serde_core"
1171+version = "1.0.229"
1172+source = "registry+https://github.com/rust-lang/crates.io-index"
1173+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
1174+dependencies = [
1175+ "serde_derive",
1176+]
1177+
1178+[[package]]
1179+name = "serde_derive"
1180+version = "1.0.229"
1181+source = "registry+https://github.com/rust-lang/crates.io-index"
1182+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
1183+dependencies = [
1184+ "proc-macro2",
1185+ "quote",
1186+ "syn 3.0.9",
1187+]
1188+
1189+[[package]]
1190+name = "sha2"
1191+version = "0.10.9"
1192+source = "registry+https://github.com/rust-lang/crates.io-index"
1193+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
1194+dependencies = [
1195+ "cfg-if",
1196+ "cpufeatures",
1197+ "digest",
1198+]
1199+
1200+[[package]]
1201+name = "shlex"
1202+version = "2.0.1"
1203+source = "registry+https://github.com/rust-lang/crates.io-index"
1204+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
1205+
1206+[[package]]
1207+name = "signal-hook"
1208+version = "0.3.18"
1209+source = "registry+https://github.com/rust-lang/crates.io-index"
1210+checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
1211+dependencies = [
1212+ "libc",
1213+ "signal-hook-registry",
1214+]
1215+
1216+[[package]]
1217+name = "signal-hook-mio"
1218+version = "0.2.5"
1219+source = "registry+https://github.com/rust-lang/crates.io-index"
1220+checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
1221+dependencies = [
1222+ "libc",
1223+ "mio",
1224+ "signal-hook",
1225+]
1226+
1227+[[package]]
1228+name = "signal-hook-registry"
1229+version = "1.4.8"
1230+source = "registry+https://github.com/rust-lang/crates.io-index"
1231+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
1232+dependencies = [
1233+ "errno",
1234+ "libc",
1235+]
1236+
1237+[[package]]
1238+name = "siphasher"
1239+version = "1.0.4"
1240+source = "registry+https://github.com/rust-lang/crates.io-index"
1241+checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
1242+
1243+[[package]]
1244+name = "slab"
1245+version = "0.4.12"
1246+source = "registry+https://github.com/rust-lang/crates.io-index"
1247+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
1248+
1249+[[package]]
1250+name = "smallvec"
1251+version = "1.16.3"
1252+source = "registry+https://github.com/rust-lang/crates.io-index"
1253+checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
1254+
1255+[[package]]
1256+name = "stacker"
1257+version = "0.1.25"
1258+source = "registry+https://github.com/rust-lang/crates.io-index"
1259+checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967"
1260+dependencies = [
1261+ "cc",
1262+ "cfg-if",
1263+ "libc",
1264+ "psm",
1265+ "windows-sys",
1266+]
1267+
1268+[[package]]
1269+name = "static_assertions"
1270+version = "1.1.0"
1271+source = "registry+https://github.com/rust-lang/crates.io-index"
1272+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1273+
1274+[[package]]
1275+name = "strsim"
1276+version = "0.11.1"
1277+source = "registry+https://github.com/rust-lang/crates.io-index"
1278+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1279+
1280+[[package]]
1281+name = "strum"
1282+version = "0.28.0"
1283+source = "registry+https://github.com/rust-lang/crates.io-index"
1284+checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
1285+dependencies = [
1286+ "strum_macros",
1287+]
1288+
1289+[[package]]
1290+name = "strum_macros"
1291+version = "0.28.0"
1292+source = "registry+https://github.com/rust-lang/crates.io-index"
1293+checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
1294+dependencies = [
1295+ "heck",
1296+ "proc-macro2",
1297+ "quote",
1298+ "syn 2.0.119",
1299+]
1300+
1301+[[package]]
1302+name = "syn"
1303+version = "1.0.109"
1304+source = "registry+https://github.com/rust-lang/crates.io-index"
1305+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
1306+dependencies = [
1307+ "proc-macro2",
1308+ "quote",
1309+ "unicode-ident",
1310+]
1311+
1312+[[package]]
1313+name = "syn"
1314+version = "2.0.119"
1315+source = "registry+https://github.com/rust-lang/crates.io-index"
1316+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
1317+dependencies = [
1318+ "proc-macro2",
1319+ "quote",
1320+ "unicode-ident",
1321+]
1322+
1323+[[package]]
1324+name = "syn"
1325+version = "3.0.9"
1326+source = "registry+https://github.com/rust-lang/crates.io-index"
1327+checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
1328+dependencies = [
1329+ "proc-macro2",
1330+ "quote",
1331+ "unicode-ident",
1332+]
1333+
1334+[[package]]
1335+name = "termina"
1336+version = "0.3.3"
1337+source = "registry+https://github.com/rust-lang/crates.io-index"
1338+checksum = "9048a889effe34a5cddee0af7f53285198b16dca3be510858d38dfdb3e62a04e"
1339+dependencies = [
1340+ "bitflags 2.13.2",
1341+ "parking_lot",
1342+ "rustix",
1343+ "signal-hook",
1344+ "windows-sys",
1345+]
1346+
1347+[[package]]
1348+name = "terminfo"
1349+version = "0.9.0"
1350+source = "registry+https://github.com/rust-lang/crates.io-index"
1351+checksum = "d4ea810f0692f9f51b382fff5893887bb4580f5fa246fde546e0b13e7fcee662"
1352+dependencies = [
1353+ "fnv",
1354+ "nom",
1355+ "phf",
1356+ "phf_codegen",
1357+]
1358+
1359+[[package]]
1360+name = "termios"
1361+version = "0.3.3"
1362+source = "registry+https://github.com/rust-lang/crates.io-index"
1363+checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b"
1364+dependencies = [
1365+ "libc",
1366+]
1367+
1368+[[package]]
1369+name = "termwiz"
1370+version = "0.23.3"
1371+source = "registry+https://github.com/rust-lang/crates.io-index"
1372+checksum = "4676b37242ccbd1aabf56edb093a4827dc49086c0ffd764a5705899e0f35f8f7"
1373+dependencies = [
1374+ "anyhow",
1375+ "base64",
1376+ "bitflags 2.13.2",
1377+ "fancy-regex",
1378+ "filedescriptor",
1379+ "finl_unicode",
1380+ "fixedbitset",
1381+ "hex",
1382+ "lazy_static",
1383+ "libc",
1384+ "log",
1385+ "memmem",
1386+ "nix 0.29.0",
1387+ "num-derive",
1388+ "num-traits",
1389+ "ordered-float",
1390+ "pest",
1391+ "pest_derive",
1392+ "phf",
1393+ "sha2",
1394+ "signal-hook",
1395+ "siphasher",
1396+ "terminfo",
1397+ "termios",
1398+ "thiserror 1.0.69",
1399+ "ucd-trie",
1400+ "unicode-segmentation",
1401+ "vtparse",
1402+ "wezterm-bidi",
1403+ "wezterm-blob-leases",
1404+ "wezterm-color-types",
1405+ "wezterm-dynamic",
1406+ "wezterm-input-types",
1407+ "winapi",
1408+]
1409+
1410+[[package]]
1411+name = "thiserror"
1412+version = "1.0.69"
1413+source = "registry+https://github.com/rust-lang/crates.io-index"
1414+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
1415+dependencies = [
1416+ "thiserror-impl 1.0.69",
1417+]
1418+
1419+[[package]]
1420+name = "thiserror"
1421+version = "2.0.21"
1422+source = "registry+https://github.com/rust-lang/crates.io-index"
1423+checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
1424+dependencies = [
1425+ "thiserror-impl 2.0.21",
1426+]
1427+
1428+[[package]]
1429+name = "thiserror-impl"
1430+version = "1.0.69"
1431+source = "registry+https://github.com/rust-lang/crates.io-index"
1432+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
1433+dependencies = [
1434+ "proc-macro2",
1435+ "quote",
1436+ "syn 2.0.119",
1437+]
1438+
1439+[[package]]
1440+name = "thiserror-impl"
1441+version = "2.0.21"
1442+source = "registry+https://github.com/rust-lang/crates.io-index"
1443+checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
1444+dependencies = [
1445+ "proc-macro2",
1446+ "quote",
1447+ "syn 3.0.9",
1448+]
1449+
1450+[[package]]
1451+name = "time"
1452+version = "0.3.55"
1453+source = "registry+https://github.com/rust-lang/crates.io-index"
1454+checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
1455+dependencies = [
1456+ "deranged",
1457+ "libc",
1458+ "num-conv",
1459+ "num_threads",
1460+ "powerfmt",
1461+ "serde_core",
1462+ "time-core",
1463+]
1464+
1465+[[package]]
1466+name = "time-core"
1467+version = "0.1.9"
1468+source = "registry+https://github.com/rust-lang/crates.io-index"
1469+checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
1470+
1471+[[package]]
1472+name = "typenum"
1473+version = "1.20.1"
1474+source = "registry+https://github.com/rust-lang/crates.io-index"
1475+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
1476+
1477+[[package]]
1478+name = "ucd-trie"
1479+version = "0.1.7"
1480+source = "registry+https://github.com/rust-lang/crates.io-index"
1481+checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
1482+
1483+[[package]]
1484+name = "unicode-ident"
1485+version = "1.0.27"
1486+source = "registry+https://github.com/rust-lang/crates.io-index"
1487+checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
1488+
1489+[[package]]
1490+name = "unicode-segmentation"
1491+version = "1.13.3"
1492+source = "registry+https://github.com/rust-lang/crates.io-index"
1493+checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
1494+
1495+[[package]]
1496+name = "unicode-truncate"
1497+version = "2.0.1"
1498+source = "registry+https://github.com/rust-lang/crates.io-index"
1499+checksum = "16b380a1238663e5f8a691f9039c73e1cdae598a30e9855f541d29b08b53e9a5"
1500+dependencies = [
1501+ "itertools",
1502+ "unicode-segmentation",
1503+ "unicode-width",
1504+]
1505+
1506+[[package]]
1507+name = "unicode-width"
1508+version = "0.2.2"
1509+source = "registry+https://github.com/rust-lang/crates.io-index"
1510+checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
1511+
1512+[[package]]
1513+name = "utf8parse"
1514+version = "0.2.2"
1515+source = "registry+https://github.com/rust-lang/crates.io-index"
1516+checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1517+
1518+[[package]]
1519+name = "uuid"
1520+version = "1.28.0"
1521+source = "registry+https://github.com/rust-lang/crates.io-index"
1522+checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606"
1523+dependencies = [
1524+ "atomic",
1525+ "getrandom 0.4.3",
1526+ "js-sys",
1527+ "wasm-bindgen",
1528+]
1529+
1530+[[package]]
1531+name = "version_check"
1532+version = "0.9.5"
1533+source = "registry+https://github.com/rust-lang/crates.io-index"
1534+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1535+
1536+[[package]]
1537+name = "vtparse"
1538+version = "0.6.2"
1539+source = "registry+https://github.com/rust-lang/crates.io-index"
1540+checksum = "6d9b2acfb050df409c972a37d3b8e08cdea3bddb0c09db9d53137e504cfabed0"
1541+dependencies = [
1542+ "utf8parse",
1543+]
1544+
1545+[[package]]
1546+name = "wasi"
1547+version = "0.11.1+wasi-snapshot-preview1"
1548+source = "registry+https://github.com/rust-lang/crates.io-index"
1549+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1550+
1551+[[package]]
1552+name = "wasip2"
1553+version = "1.0.4+wasi-0.2.12"
1554+source = "registry+https://github.com/rust-lang/crates.io-index"
1555+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
1556+dependencies = [
1557+ "wit-bindgen",
1558+]
1559+
1560+[[package]]
1561+name = "wasm-bindgen"
1562+version = "0.2.129"
1563+source = "registry+https://github.com/rust-lang/crates.io-index"
1564+checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
1565+dependencies = [
1566+ "cfg-if",
1567+ "once_cell",
1568+ "rustversion",
1569+ "wasm-bindgen-macro",
1570+ "wasm-bindgen-shared",
1571+]
1572+
1573+[[package]]
1574+name = "wasm-bindgen-macro"
1575+version = "0.2.129"
1576+source = "registry+https://github.com/rust-lang/crates.io-index"
1577+checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
1578+dependencies = [
1579+ "quote",
1580+ "wasm-bindgen-macro-support",
1581+]
1582+
1583+[[package]]
1584+name = "wasm-bindgen-macro-support"
1585+version = "0.2.129"
1586+source = "registry+https://github.com/rust-lang/crates.io-index"
1587+checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
1588+dependencies = [
1589+ "bumpalo",
1590+ "proc-macro2",
1591+ "quote",
1592+ "syn 3.0.9",
1593+ "wasm-bindgen-shared",
1594+]
1595+
1596+[[package]]
1597+name = "wasm-bindgen-shared"
1598+version = "0.2.129"
1599+source = "registry+https://github.com/rust-lang/crates.io-index"
1600+checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
1601+dependencies = [
1602+ "unicode-ident",
1603+]
1604+
1605+[[package]]
1606+name = "wezterm-bidi"
1607+version = "0.2.3"
1608+source = "registry+https://github.com/rust-lang/crates.io-index"
1609+checksum = "0c0a6e355560527dd2d1cf7890652f4f09bb3433b6aadade4c9b5ed76de5f3ec"
1610+dependencies = [
1611+ "log",
1612+ "wezterm-dynamic",
1613+]
1614+
1615+[[package]]
1616+name = "wezterm-blob-leases"
1617+version = "0.1.1"
1618+source = "registry+https://github.com/rust-lang/crates.io-index"
1619+checksum = "692daff6d93d94e29e4114544ef6d5c942a7ed998b37abdc19b17136ea428eb7"
1620+dependencies = [
1621+ "getrandom 0.3.4",
1622+ "mac_address",
1623+ "sha2",
1624+ "thiserror 1.0.69",
1625+ "uuid",
1626+]
1627+
1628+[[package]]
1629+name = "wezterm-color-types"
1630+version = "0.3.0"
1631+source = "registry+https://github.com/rust-lang/crates.io-index"
1632+checksum = "7de81ef35c9010270d63772bebef2f2d6d1f2d20a983d27505ac850b8c4b4296"
1633+dependencies = [
1634+ "csscolorparser",
1635+ "deltae",
1636+ "lazy_static",
1637+ "wezterm-dynamic",
1638+]
1639+
1640+[[package]]
1641+name = "wezterm-dynamic"
1642+version = "0.2.1"
1643+source = "registry+https://github.com/rust-lang/crates.io-index"
1644+checksum = "5f2ab60e120fd6eaa68d9567f3226e876684639d22a4219b313ff69ec0ccd5ac"
1645+dependencies = [
1646+ "log",
1647+ "ordered-float",
1648+ "strsim",
1649+ "thiserror 1.0.69",
1650+ "wezterm-dynamic-derive",
1651+]
1652+
1653+[[package]]
1654+name = "wezterm-dynamic-derive"
1655+version = "0.1.1"
1656+source = "registry+https://github.com/rust-lang/crates.io-index"
1657+checksum = "46c0cf2d539c645b448eaffec9ec494b8b19bd5077d9e58cb1ae7efece8d575b"
1658+dependencies = [
1659+ "proc-macro2",
1660+ "quote",
1661+ "syn 1.0.109",
1662+]
1663+
1664+[[package]]
1665+name = "wezterm-input-types"
1666+version = "0.1.0"
1667+source = "registry+https://github.com/rust-lang/crates.io-index"
1668+checksum = "7012add459f951456ec9d6c7e6fc340b1ce15d6fc9629f8c42853412c029e57e"
1669+dependencies = [
1670+ "bitflags 1.3.2",
1671+ "euclid",
1672+ "lazy_static",
1673+ "serde",
1674+ "wezterm-dynamic",
1675+]
1676+
1677+[[package]]
1678+name = "winapi"
1679+version = "0.3.9"
1680+source = "registry+https://github.com/rust-lang/crates.io-index"
1681+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1682+dependencies = [
1683+ "winapi-i686-pc-windows-gnu",
1684+ "winapi-x86_64-pc-windows-gnu",
1685+]
1686+
1687+[[package]]
1688+name = "winapi-i686-pc-windows-gnu"
1689+version = "0.4.0"
1690+source = "registry+https://github.com/rust-lang/crates.io-index"
1691+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1692+
1693+[[package]]
1694+name = "winapi-x86_64-pc-windows-gnu"
1695+version = "0.4.0"
1696+source = "registry+https://github.com/rust-lang/crates.io-index"
1697+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1698+
1699+[[package]]
1700+name = "windows-link"
1701+version = "0.2.1"
1702+source = "registry+https://github.com/rust-lang/crates.io-index"
1703+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1704+
1705+[[package]]
1706+name = "windows-sys"
1707+version = "0.61.2"
1708+source = "registry+https://github.com/rust-lang/crates.io-index"
1709+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1710+dependencies = [
1711+ "windows-link",
1712+]
1713+
1714+[[package]]
1715+name = "wit-bindgen"
1716+version = "0.57.1"
1717+source = "registry+https://github.com/rust-lang/crates.io-index"
1718+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
added hello-ratatui/Cargo.toml +7 -0
new file mode 100644
@@ -0,0 +1,7 @@
1+[package]
2+name = "hello-ratatui"
3+version = "0.1.0"
4+edition = "2024"
5+
6+[dependencies]
7+ratatui = "0.30.2"
new file mode 100644
@@ -0,0 +1,7 @@
1+[package]
2+name = "hello-ratatui"
3+version = "0.1.0"
4+edition = "2024"
5+
6+[dependencies]
7+ratatui = "0.30.2"
added hello-ratatui/src/main.rs +22 -0
new file mode 100644
@@ -0,0 +1,22 @@
1+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
2+use ratatui::DefaultTerminal;
3+
4+fn main() -> std::io::Result<()> {
5+ let mut terminal = ratatui::init();
6+ let result = run(&mut terminal);
7+ ratatui::restore();
8+ result
9+}
10+
11+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
12+ loop {
13+ terminal.draw(|frame| {
14+ frame.render_widget("Hello, Ratatui! Press q to quit.", frame.area());
15+ })?;
16+ if let Event::Key(key) = event::read()? {
17+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
18+ return Ok(());
19+ }
20+ }
21+ }
22+}
new file mode 100644
@@ -0,0 +1,22 @@
1+use ratatui::crossterm::event::{self, Event, KeyCode, KeyEventKind};
2+use ratatui::DefaultTerminal;
3+
4+fn main() -> std::io::Result<()> {
5+ let mut terminal = ratatui::init();
6+ let result = run(&mut terminal);
7+ ratatui::restore();
8+ result
9+}
10+
11+fn run(terminal: &mut DefaultTerminal) -> std::io::Result<()> {
12+ loop {
13+ terminal.draw(|frame| {
14+ frame.render_widget("Hello, Ratatui! Press q to quit.", frame.area());
15+ })?;
16+ if let Event::Key(key) = event::read()? {
17+ if key.kind == KeyEventKind::Press && key.code == KeyCode::Char('q') {
18+ return Ok(());
19+ }
20+ }
21+ }
22+}
modified sbxenv.yaml +9 -5
@@ -6,15 +6,19 @@ name: zed-mellum
66 agent: zed-ssh-kit
77
88 kits:
9- - docker.io/k33g/zed-ssh-kit:0.0.3
10- - docker.io/k33g/mini-me-agent-kit:0.0.3
11- - docker.io/k33g/nushell-kit:0.0.3
12- - docker.io/k33g/go-toolchain-kit:0.0.3
13- - docker.io/k33g/rust-toolchain-kit:0.0.3
9+ - docker.io/k33g/zed-ssh-kit:0.0.5
10+ - docker.io/k33g/mini-me-agent-kit:0.0.5
11+ - docker.io/k33g/nushell-kit:0.0.5
12+ - docker.io/k33g/go-toolchain-kit:0.0.5
13+ - docker.io/k33g/rust-toolchain-kit:0.0.5
1414
1515 workspace: ./
1616
17+sandboxOptions:
18+ pullPolicy: always
19+
1720 # sbx setup ssh
1821 # sbx env create --force
1922 # zed --new ssh://zed-mellum.sbx$PWD
2023 # sbx env rm --force
24+
@@ -6,15 +6,19 @@ name: zed-mellum
6 agent: zed-ssh-kit6 agent: zed-ssh-kit
7 7
8 kits:8 kits:
9- - docker.io/k33g/zed-ssh-kit:0.0.39+ - docker.io/k33g/zed-ssh-kit:0.0.5
10- - docker.io/k33g/mini-me-agent-kit:0.0.310+ - docker.io/k33g/mini-me-agent-kit:0.0.5
11- - docker.io/k33g/nushell-kit:0.0.311+ - docker.io/k33g/nushell-kit:0.0.5
12- - docker.io/k33g/go-toolchain-kit:0.0.312+ - docker.io/k33g/go-toolchain-kit:0.0.5
13- - docker.io/k33g/rust-toolchain-kit:0.0.313+ - docker.io/k33g/rust-toolchain-kit:0.0.5
14 14
15 workspace: ./15 workspace: ./
16 16
17+sandboxOptions:
18+ pullPolicy: always
19+
17 # sbx setup ssh20 # sbx setup ssh
18 # sbx env create --force21 # sbx env create --force
19 # zed --new ssh://zed-mellum.sbx$PWD22 # zed --new ssh://zed-mellum.sbx$PWD
20 # sbx env rm --force23 # sbx env rm --force
24+