This commit is contained in:
Jeevitha Kannan K S 2024-11-09 17:53:33 -08:00 committed by GitHub
commit b10fc15ddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {}",