Widen playtime column to fit zero-padded format

This commit is contained in:
2026-06-01 03:27:22 +02:00
parent ecb4c6a873
commit e94179264f
+2 -2
View File
@@ -418,7 +418,7 @@ fn action_recover_bak<B: Backend>(terminal: &mut Terminal<B>, 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<String> = 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<String> = vec![header, String::new()];
items.extend(bak_summaries
@@ -437,7 +437,7 @@ fn action_recover_bak<B: Backend>(terminal: &mut Terminal<B>, 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,