From 88e0086db36c7d9d86a7ace0b9702030323166c6 Mon Sep 17 00:00:00 2001 From: electria Date: Sat, 31 Oct 2026 18:07:56 -0700 Subject: [PATCH] feat: improve infobar display this makes WAY more sense: now the error and status don't take up a fixed 1/2 space and wrap, but instead they take space from each other as needed. --- src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index b66a781..22d86ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,12 +87,7 @@ impl State { let mut bar = Vec::new(); if let Some(error) = self.error.as_ref() { - bar.push( - widget::container(widget::text(error).style(widget::text::danger)) - .align_x(Alignment::Start) - .width(Length::Fill) - .boxed(), - ); + bar.push(widget::text(error).style(widget::text::danger).boxed()); } if self.infobar_shown && self.info.is_some() { bar.push(