Add AppMode enum (Normal/Settings), level_cache field populated in recompute_wrap_cache via detect_level(), color_config loaded from TOML in main.rs. Refactor handle_key for mode dispatch with S key to enter settings. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
16 lines
296 B
TOML
16 lines
296 B
TOML
[package]
|
|
name = "log-viewer-tui"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
ratatui.workspace = true
|
|
crossterm.workspace = true
|
|
clap.workspace = true
|
|
anyhow.workspace = true
|
|
log-viewer-core.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|