diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-22 00:12:53 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-22 00:12:53 +0300 |
| commit | a9ff4012bdca0dbdbc77bc6e53a430689fc899be (patch) | |
| tree | 6e20af3c9aa5383af4989ff5bc3830a2c58ee57f /src/app/state.rs | |
| parent | 659badf106786f5611e750de0e4936e47c69a3d4 (diff) | |
feat: add configurable mouse scroll lines
refs #236
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 13958d03..b38afdb3 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -960,6 +960,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 mouse_scroll_lines: usize, pub confirm_close: bool, pub prompt_new_tab_name: bool, pub show_agent_labels_on_pane_borders: bool, @@ -1239,6 +1240,7 @@ impl AppState { sidebar_section_split: 0.5, agent_panel_scope: AgentPanelScope::AllWorkspaces, mouse_capture: true, + mouse_scroll_lines: crate::config::DEFAULT_MOUSE_SCROLL_LINES, confirm_close: true, prompt_new_tab_name: true, show_agent_labels_on_pane_borders: false, |
