diff options
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 422664ff..b22dc6a3 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1057,7 +1057,7 @@ pub struct AppState { pub request_reload_config: bool, /// Set when the headless server should ask attached clients to reload /// their client-local sound config from disk. - pub request_client_sound_config_reload: bool, + pub request_client_config_reload: bool, /// Set when UI interaction requested a clipboard write that must be /// handled by the outer App/event loop instead of directly from AppState. pub request_clipboard_write: Option<Vec<u8>>, @@ -1115,6 +1115,7 @@ pub struct AppState { /// Capture mouse input for Herdr's own mouse UI. When false, Herdr only /// captures mouse while the focused pane app requests mouse reporting. pub mouse_capture: bool, + pub redraw_on_focus_gained: bool, pub mouse_scroll_lines: usize, pub confirm_close: bool, pub prompt_new_tab_name: bool, @@ -1351,7 +1352,7 @@ impl AppState { request_submit_worktree_open: false, request_submit_worktree_remove: false, request_reload_config: false, - request_client_sound_config_reload: false, + request_client_config_reload: false, request_clipboard_write: None, creating_new_tab: false, requested_new_tab_name: None, @@ -1414,6 +1415,7 @@ impl AppState { sidebar_section_split: 0.5, agent_panel_scope: AgentPanelScope::AllWorkspaces, mouse_capture: true, + redraw_on_focus_gained: true, mouse_scroll_lines: crate::config::DEFAULT_MOUSE_SCROLL_LINES, confirm_close: true, prompt_new_tab_name: true, |
