mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Add underline for header
This commit is contained in:
parent
d416d1b94b
commit
a4715ae352
2 changed files with 3 additions and 0 deletions
|
@ -278,6 +278,7 @@ where
|
|||
let mut index = 0;
|
||||
if y < table_area.bottom() {
|
||||
for (w, t) in solved_widths.iter().zip(self.header.by_ref()) {
|
||||
buf.set_stringn(x, y, format!("{symbol:>width$}", symbol=" ", width=*w as usize), *w as usize, self.header_style);
|
||||
if t.to_string() == "ID" {
|
||||
buf.set_stringn(x, y, format!("{symbol:>width$}", symbol=t, width=*w as usize), *w as usize, self.header_style);
|
||||
header_index = index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue