Widen name column on F2 conscious screen

Memory node keys were running into the token count column. Bump the
name column from 40 to 70 characters.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-04-09 21:13:56 -04:00
parent be65399710
commit b116b3536e
2 changed files with 4 additions and 4 deletions

View file

@ -259,9 +259,9 @@ impl SectionTree {
let name_col = format!("{}{} {}", indent, marker, section.name);
let tokens_col = format!("{:>6} tokens", section.tokens);
let label = if section.status.is_empty() {
format!("{:40} {}", name_col, tokens_col)
format!("{:70} {}", name_col, tokens_col)
} else {
format!("{:40} {:16} {}", name_col, tokens_col, section.status)
format!("{:70} {:16} {}", name_col, tokens_col, section.status)
};
let style = if selected {
Style::default().fg(Color::Yellow).add_modifier(Modifier::BOLD)