diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-28 15:44:31 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-28 15:44:31 +0300 |
| commit | ebd800755832784e1e48e250bf1db11a8b286209 (patch) | |
| tree | c15022e702ae242b744d182a3c94e71007f275a9 /src/app/state.rs | |
| parent | 7380e0ed16470c570984485930048a80034ba381 (diff) | |
add config diagnostics and split configuration docs
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 140a1513..8ee5e67a 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -58,9 +58,10 @@ pub struct AppState { pub(crate) drag: Option<DragState>, pub selection: Option<Selection>, pub context_menu: Option<ContextMenuState>, - // Update notification + // Notifications pub update_available: Option<String>, pub update_dismissed: bool, + pub config_diagnostic: Option<String>, // Config pub prefix_code: KeyCode, pub prefix_mods: KeyModifiers, @@ -132,6 +133,7 @@ impl AppState { context_menu: None, update_available: None, update_dismissed: false, + config_diagnostic: None, prefix_code: KeyCode::Char('b'), prefix_mods: KeyModifiers::CONTROL, sidebar_width: 26, |
