diff --git a/src/ui.rs b/src/ui.rs index eb447e1..97e9730 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -194,12 +194,14 @@ fn event_loop( fn draw(f: &mut Frame, app: &SharedApp, eui: &mut EmbedUi) { let mut a = app.lock().unwrap(); // Embedded pane height: nothing when hidden; ~35% of the screen normally, - // ~60% while the tap says an interactive prompt is on screen. + // 75% while the tap says an interactive prompt is on screen — Claude + // Code's question UI clips its option list to the rows it gets, so the + // prompt wants as much height as we can spare. let show_embed = eui.visible && eui.term.is_some(); let embed_h = if show_embed { let total = f.area().height; - let pct = if a.embed_grow { 60 } else { 35 }; - ((total as u32 * pct / 100) as u16).clamp(10, total.saturating_sub(10)) + let pct = if a.embed_grow { 75 } else { 35 }; + ((total as u32 * pct / 100) as u16).clamp(10, total.saturating_sub(6)) } else { 0 };