diff --git a/src/terminal/composer.rs b/src/terminal/composer.rs index 3fea9c34..f95e7dca 100644 --- a/src/terminal/composer.rs +++ b/src/terminal/composer.rs @@ -1594,7 +1594,11 @@ impl TerminalView { })) .child(label), ) - .when(open, |s| s.child(popup(picker, title, rows, cx))) + // Painted after everything else, so the box's ring and whatever + // else is under the list stays under it. + .when(open, |s| { + s.child(gpui::deferred(popup(picker, title, rows, cx)).with_priority(1)) + }) }; let model = claude.then(|| { @@ -1649,6 +1653,11 @@ impl TerminalView { .as_deref() .map(|level| div().text_color(ink).child(effort_label(level))), ) + .child( + Icon::new(IconName::ChevronDown) + .size(px(8.)) + .text_color(ink.opacity(0.4)), + ) .into_any_element(); let rows = EFFORT_LEVELS .iter() @@ -1932,7 +1941,7 @@ impl TerminalView { }, )) }) - .children(popup) + .children(popup.map(|p| gpui::deferred(p).with_priority(1))) .child( div() .flex()