add column title to value bar

This commit is contained in:
🪞👃🪞 2025-03-23 23:23:22 +02:00
parent 41b6a0cd57
commit 57b418b567
2 changed files with 14 additions and 9 deletions

View file

@ -23,7 +23,12 @@ impl Content<TuiOut> for Taggart {
let value_bar = status_bar(
Color::Rgb(192, 192, 192),
Color::Rgb(0, 0, 0),
Fill::x(Align::w(format!(" {}/{} ", self.cursor + 1, self.entries.len())))
Fill::x(Align::w(format!(
" {}/{} {}:",
self.cursor + 1,
self.entries.len(),
self.columns.0[self.column].title
)))
);
let mode_bar = status_bar(
Color::Rgb(0, 0, 0),