This commit is contained in:
2025-11-10 21:25:42 -07:00
parent 5334b2fb06
commit be71f10903
2 changed files with 20 additions and 8 deletions

View File

@@ -37,8 +37,6 @@ impl Widget for &App {
x2 += 1;
y2 += 1;
if x >= x1 && x <= x2{
// in-between the Xs
if y >= y1 && y <= y2 {
@@ -172,7 +170,10 @@ impl App {
let bottom_split = Layout::default()
.direction(layout::Direction::Horizontal)
.constraints([Constraint::Percentage(50), Constraint::Percentage(50)])
.constraints([
Constraint::Min(30),
Constraint::Min(100),
])
.split(cmd_line);
let cmd_line_left = bottom_split[0];