mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
fix(tui/agents): ensure command instructions box shows a line
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user