From e94179264f9ac0901d60f361d20871834a8067e8 Mon Sep 17 00:00:00 2001 From: forkless Date: Mon, 1 Jun 2026 03:27:22 +0200 Subject: [PATCH] Widen playtime column to fit zero-padded format --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 25d8873..3e5bcea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -418,7 +418,7 @@ fn action_recover_bak(terminal: &mut Terminal, app: &mut App) -> // Build multi-column display with slot grouping. // First entry in each slot gets a numbered label matching the savegame slot. let mut labelled: std::collections::HashSet = std::collections::HashSet::new(); - let header = format!(" {:<8} {:<16} {:<14} {:<6} {:>6} {}", + let header = format!(" {:<8} {:<16} {:<14} {:<8} {:>6} {}", "Slot", "Description", "Game Type", "Playtime", "Size", "Date"); let mut items: Vec = vec![header, String::new()]; items.extend(bak_summaries @@ -437,7 +437,7 @@ fn action_recover_bak(terminal: &mut Terminal, app: &mut App) -> let save_type = if s.is_online { "Multiplayer" } else { "Single Player" }; let playtime = format_playtime(s.playtime_seconds); format!( - " {:<8} {:<16} {:<14} {:<6} {:>6} {}", + " {:<8} {:<16} {:<14} {:<8} {:>6} {}", label_col, name_col, save_type,