diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-13 03:26:03 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-13 03:30:13 +0300 |
| commit | 5cfe5e5e730246948b0c9428ad876b6938590aad (patch) | |
| tree | 53d4bbe1aff6887f63f279eed1b5e4e11e7331b7 /src/app/state.rs | |
| parent | 7f3364a468f7dcfd8c9c84e5737fe5699f0e3a93 (diff) | |
feat: add configurable sidebar metadata tokens
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index be858678..d2315422 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1403,6 +1403,8 @@ pub struct AppState { /// Ratio of sidebar height allocated to the workspaces section. pub sidebar_section_split: f32, pub agent_panel_sort: AgentPanelSort, + pub sidebar_agents: crate::config::AgentsSidebarConfig, + pub sidebar_spaces: crate::config::SpacesSidebarConfig, pub next_agent_state_change_seq: u64, /// Capture mouse input for Herdr's own mouse UI. When false, Herdr only /// captures mouse while the focused pane app requests mouse reporting. @@ -1764,6 +1766,8 @@ impl AppState { sidebar_collapsed_mode: crate::config::SidebarCollapsedModeConfig::Compact, sidebar_section_split: 0.5, agent_panel_sort: AgentPanelSort::Spaces, + sidebar_agents: crate::config::AgentsSidebarConfig::default(), + sidebar_spaces: crate::config::SpacesSidebarConfig::default(), next_agent_state_change_seq: 0, mouse_capture: true, copy_on_select: true, |
