From a7541dc0a0e1aa20250653fcf1e7fc5980b2fc5b Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Mon, 26 Feb 2024 11:53:02 +0100 Subject: [PATCH] Add information about loaded results & formats startup screen --- formatscaper/resultman.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/formatscaper/resultman.py b/formatscaper/resultman.py index 01ab8a4..ac03853 100755 --- a/formatscaper/resultman.py +++ b/formatscaper/resultman.py @@ -222,13 +222,18 @@ formats._command_map["l"] = "activate" formats_label = uw.Filler(uw.AttrMap(uw.Text("FORMATS", align="center"), "border")) left = uw.Pile([("pack", formats_label), formats]) -help_text = """ +help_text = f""" Formatscaper results manager help Up/Down/j/k/^d/^u: navigate up and down Enter/Space/l: select current format Esc/h/q: go back to formats list Q: quit + + +----------------------------- + +Loaded {len(all_results):,} results for {len(format_record_files):,} formats """ details = uw.AttrMap(uw.Filler(uw.Text(help_text, align="center")), "darkbg") details_label = uw.Filler(uw.AttrMap(uw.Text("DETAILS", align="center"), "border")) -- GitLab