diff options
Diffstat (limited to 'src/app/runtime.rs')
| -rw-r--r-- | src/app/runtime.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/runtime.rs b/src/app/runtime.rs index 284fb882..85bdb8dd 100644 --- a/src/app/runtime.rs +++ b/src/app/runtime.rs @@ -106,7 +106,9 @@ impl App { true } crate::raw_input::RawInputEvent::OuterFocusGained => { - self.request_full_redraw(); + if self.state.redraw_on_focus_gained { + self.request_full_redraw(); + } self.state.outer_terminal_focus = Some(true); self.state.mark_active_tab_seen(); true |
