aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-22 00:12:53 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-22 00:12:53 +0300
commita9ff4012bdca0dbdbc77bc6e53a430689fc899be (patch)
tree6e20af3c9aa5383af4989ff5bc3830a2c58ee57f /src/app/state.rs
parent659badf106786f5611e750de0e4936e47c69a3d4 (diff)
feat: add configurable mouse scroll lines
refs #236
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs2
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,