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.
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
---
|
|
# claudbg-78xt
|
|
title: 'TUI: add ratatui + crossterm dependencies'
|
|
status: completed
|
|
type: task
|
|
priority: normal
|
|
created_at: 2026-03-30T04:45:06Z
|
|
updated_at: 2026-03-30T16:37: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`
|
|
|
|
## Summary of Changes\n\nAdded to Cargo.toml. Ratatui 0.29.0 resolved with crossterm 0.28.1 pulled in transitively. passes with no conflicts.
|