From 2fcf9b678d0f154b2d41aa5fafa25aaa73ec7f17 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 1 Jun 2026 03:56:48 +0300 Subject: feat: add configurable right-click passthrough refs #148 --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6493ae81..b317c2da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -193,6 +193,10 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # Pane apps like lazygit and btop can still receive mouse when they request it. # mouse_capture = true +# Optional modifier that forwards right-click hold/drag gestures to pane apps instead of opening Herdr's pane menu. +# Empty/off disables this. Shift is intentionally unsupported because terminals commonly reserve Shift+mouse. +# right_click_passthrough_modifier = "" + # Force a full redraw when the outer terminal regains focus. # Set false to reduce visible flashing when switching back to Herdr. # Trade-off: rare host terminal surface corruption may persist until the next full redraw. -- cgit v1.2.3