Compare commits

...

3 Commits

Author SHA1 Message Date
Jeevitha Kannan K S
94c5d27ea6
Merge 4a9d726fdb into f5f38243f0 2024-11-08 05:33:37 +05:30
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

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