diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-25 18:39:44 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-25 18:42:33 +0300 |
| commit | 58bcd76bfdb76ecbb8cfee868dabe60b43f16cc6 (patch) | |
| tree | dad4b122401b87c9bc9b8e5b46b854c9534fc983 /src/main.rs | |
| parent | ac9dac0263ba2336710e8fc350600ff8674ebf99 (diff) | |
feat: make focus-gain redraw configurable
refs #282
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
