From 58bcd76bfdb76ecbb8cfee868dabe60b43f16cc6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 25 May 2026 18:39:44 +0300 Subject: feat: make focus-gain redraw configurable refs #282 --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 725aed45..9a33555e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -182,6 +182,11 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # Pane apps like lazygit and btop can still receive mouse when they request it. # mouse_capture = true +# 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. +# redraw_on_focus_gained = true + # Pane scrollback lines to scroll per mouse wheel notch. # mouse_scroll_lines = 3 -- cgit v1.2.3