queued messages rendered italic (#2693)

<img width="416" height="215" alt="Screenshot 2025-08-25 at 5 29 53 PM"
src="https://github.com/user-attachments/assets/0f4178c9-6997-4e7a-bb30-0817b98d9748"
/>
This commit is contained in:
Jeremy Rose
2025-08-25 17:36:05 -07:00
committed by GitHub
parent ae8f772ef2
commit b1079187e4

View File

@@ -123,10 +123,10 @@ impl WidgetRef for StatusIndicatorWidget {
for (i, piece) in wrapped.iter().take(3).enumerate() {
let prefix = if i == 0 { "" } else { " " };
let content = format!("{prefix}{piece}");
lines.push(Line::from(content.dim()));
lines.push(Line::from(content.dim().italic()));
}
if wrapped.len() > 3 {
lines.push(Line::from("".dim()));
lines.push(Line::from("".dim().italic()));
}
}
if !self.queued_messages.is_empty() {