Replace synchronous file loading with AppLoadingState state machine (Empty/Loading/Ready/Error) for instant interactivity. Add ViewportCache for on-demand viewport computation, replacing global wrap/level caches. Integrate background indexer polling and file watcher events into the TUI event loop. Add loading UI with progress percentage, estimated line numbers with ~ prefix, and error state display. Eliminate all O(N) linear scans using VisualHeightIndex binary search. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
17 lines
331 B
TOML
17 lines
331 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
|
|
crossbeam-channel.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|