mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
fix(tui): annotate subagent panel render literals
This commit is contained in:
@@ -10748,12 +10748,14 @@ impl ChatWidget {
|
||||
None => RenderableItem::Owned(Box::new(())),
|
||||
};
|
||||
let subagent_panel_renderable = match &self.subagent_panel {
|
||||
Some(panel) => RenderableItem::Borrowed(panel).inset(Insets::tlbr(1, 0, 0, 0)),
|
||||
Some(panel) => RenderableItem::Borrowed(panel).inset(Insets::tlbr(
|
||||
/*top*/ 1, /*left*/ 0, /*bottom*/ 0, /*right*/ 0,
|
||||
)),
|
||||
None => RenderableItem::Owned(Box::new(())),
|
||||
};
|
||||
let mut flex = FlexRenderable::new();
|
||||
flex.push(/*flex*/ 1, active_cell_renderable);
|
||||
flex.push(0, subagent_panel_renderable);
|
||||
flex.push(/*flex*/ 0, subagent_panel_renderable);
|
||||
flex.push(
|
||||
/*flex*/ 0,
|
||||
RenderableItem::Borrowed(&self.bottom_pane).inset(Insets::tlbr(
|
||||
|
||||
Reference in New Issue
Block a user