mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-28 05:21:23 +00:00

Demonstrates how to manage the cursor and input focus with a simple form. Uses an enum to track the current input field and passes the input events to the active field. This is similar to the json tutorial on the website, but a bit simpler
17 lines
299 B
TOML
17 lines
299 B
TOML
[package]
|
|
name = "input-form"
|
|
publish = false
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
color-eyre.workspace = true
|
|
crossterm.workspace = true
|
|
ratatui.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|