Module app

Module app 

Source
Expand description

Unified TUI application model

This module provides a unified state machine for the TUI that:

  • Manages the complete workflow (Add/Change/Remove)
  • Handles screen transitions internally
  • Maintains global state (show_diff) across screens
  • Is fully testable with pure update() and render() functions

Re-exports§

pub use super::workflow::AppResult;
pub use super::workflow::MultiSelectResultData;
pub use super::workflow::SingleSelectResult;
pub use super::workflow::UpdateResult;

Structs§

App
ConfirmScreen
Confirm screen state
InputScreen
Input screen state
ListScreen
List screen state (unified single and multi-select)

Enums§

Screen
The current screen being displayed