Prelim: Status bar formatting

This commit is contained in:
Rory Fewell
2025-07-03 22:02:26 +01:00
parent 3801aa7665
commit 3e01b301a7

View File

@@ -306,8 +306,8 @@ def wsetup_step_install_base(stdscr):
pct = float(cmd_split[2])
progress = str(int(pct)) + "%"
if len(cur_pkg) > 12:
cur_pkg = cur_pkg[:12]
if len(cur_pkg) > 16:
cur_pkg = cur_pkg[:16]
wsetup_screen_write_direct(
stdscr,
@@ -324,7 +324,7 @@ def wsetup_step_install_base(stdscr):
)
wsetup_screen_write_status(
stdscr,
"Installing " + cur_pkg
"Copying {package: <16}".format(package=cur_pkg)
)
stdscr.refresh()