You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
927 B
Markdown
35 lines
927 B
Markdown
---
|
|
# claudbg-78xt
|
|
title: 'TUI: add ratatui + crossterm dependencies'
|
|
status: todo
|
|
type: task
|
|
created_at: 2026-03-30T04:45:06Z
|
|
updated_at: 2026-03-30T04:45:06Z
|
|
parent: claudbg-i6l2
|
|
---
|
|
|
|
Add `ratatui` and `crossterm` to `Cargo.toml`.
|
|
|
|
## Changes
|
|
|
|
```toml
|
|
ratatui = "0.29" # TUI framework
|
|
crossterm = "0.28" # terminal backend (raw mode, event reading)
|
|
```
|
|
|
|
Ratatui ships its own `crossterm` backend feature; use `ratatui = { version = "0.29", features = ["crossterm"] }` to pull both together.
|
|
|
|
## Verify
|
|
|
|
Run `cargo check` to confirm the dependency resolves and there are no conflicts with existing deps (`tokio`, `libsql`).
|
|
|
|
## Notes
|
|
|
|
- Do NOT add `termion` — crossterm is cross-platform and the right choice.
|
|
- The `ratatui` crate bundles the backend integration; no need for a separate `tui-crossterm` crate.
|
|
- Check that `ratatui 0.29` is available; if not use the latest stable.
|
|
|
|
## Relevant files
|
|
|
|
- `Cargo.toml`
|