Expand description
putzen caches interactive cache cleanup TUI.
Re-exports§
pub use command::Command;pub use effect::Effect;pub use filter::Filter;pub use msg::Msg;pub use runtime::enter_tui;pub use runtime::leave_tui;pub use runtime::run_loop;pub use runtime::Term;pub use state::Loading;pub use state::Modal;pub use state::Overlay;pub use state::RunOutcome;pub use state::State;pub use state::SPINNER_FRAMES;pub use update::update;
Modules§
- command
- Pure aggregator returned by
update. Reimplements the pattern ofcrux_core::command::Command<Effect, Event>with no external dependency. - effect
- IO descriptions yielded by
update. The runtime’sEffectRunneris the only place these are realised; each variant fixes whichMsgis emitted back into the loop on completion. - filter
/-style substring filter applied to the left list.- keys
- Map crossterm KeyEvents to TUI Msg.
- msg
- All inputs the pure
updatereacts to. - runtime
- Event loop, effect runner, terminal lifecycle.
- state
- TUI application state.
- update
- Pure
update(State, Msg) -> (State, Command<Effect, Msg>). - view
- Render the whole screen. Pure function from State → frame buffer.
- widgets
- Theme + small reusable rendering helpers.