Compare commits

...

3 Commits

Author SHA1 Message Date
Jeevitha Kannan K S
ae0a8a136c
Merge 4a9d726fdb into 8ea3da9843 2024-11-06 18:39:01 -05:00
Jeevitha Kannan K S
4a9d726fdb
Merge remote-tracking branch 'upstream/main' into min-tui 2024-11-06 21:36:22 +05:30
Jeevitha Kannan K S
1ff69c7846
fix: getting locked out when running script 2024-11-06 20:23:12 +05:30

View File

@ -186,7 +186,8 @@ impl AppState {
let terminal_size = frame.area(); let terminal_size = frame.area();
if !self.size_bypass 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!( let warning = Paragraph::new(format!(
"Terminal size too small:\nWidth = {} Height = {}\n\nMinimum size:\nWidth = {} Height = {}", "Terminal size too small:\nWidth = {} Height = {}\n\nMinimum size:\nWidth = {} Height = {}",