diff --git a/tui/src/state.rs b/tui/src/state.rs index 5ee34079..49a21eb8 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -219,7 +219,8 @@ impl AppState { let terminal_size = frame.area(); if !self.size_bypass - && (terminal_size.height < MIN_HEIGHT || terminal_size.width < MIN_WIDTH) + && !matches!(self.focus, Focus::FloatingWindow(_)) + && (terminal_size.width < MIN_WIDTH || terminal_size.height < MIN_HEIGHT) { let warning = Paragraph::new(format!( "Terminal size too small:\nWidth = {} Height = {}\n\nMinimum size:\nWidth = {} Height = {}",