fix(tui/agents): ensure command instructions box shows a line

This commit is contained in:
James Peter
2025-09-17 00:44:16 +10:00
parent b234762d85
commit 0a4e0ae8fd
@@ -323,8 +323,8 @@ impl<'a> BottomPaneView<'a> for SubagentEditorView {
let max_orch_box_h = available_h
.saturating_sub(rows_before_orch)
.saturating_sub(rows_after_orch);
let orch_box_h_reserved = if max_orch_box_h >= 2 {
desired_orch_box_h.min(max_orch_box_h).max(2)
let orch_box_h_reserved = if max_orch_box_h >= 3 {
desired_orch_box_h.min(max_orch_box_h).max(3)
} else {
max_orch_box_h
};