Compare commits

...

3 Commits

Author SHA1 Message Date
Jeevitha Kannan K S
89d4a53caf
Merge 4a9d726fdb into 6728e7ee9b 2024-11-06 13:28:20 -08: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

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