add background to status bar + misc

This commit is contained in:
🪞👃🪞 2024-11-03 17:32:41 +02:00
parent d94aa8c8ac
commit 792dab9714
3 changed files with 20 additions and 21 deletions

View file

@ -100,7 +100,7 @@ impl Content for ArrangerStatusBar {
_ => command(&[])
};
//let commands = commands.iter().reduce(String::new(), |s, (a, b, c)| format!("{s} {a}{b}{c}"));
row!(mode, commands)
row!(mode, commands).fill_x().bg(Color::Rgb(28, 35, 25))
}
}
fn command (commands: &[[impl Widget<Engine = Tui>;3]]) -> impl Widget<Engine = Tui> + '_ {