make.sh: Erase the line when resizing the screen

This should leave less clutter, but there is still some.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-09 21:26:25 +00:00
parent 9bdc9a5b80
commit 56312598b3

View File

@@ -70,6 +70,12 @@ resize_terminal() {
COLUMNS=80
fi
# Wipe any previous content before updating the counters
if [ -n "${TIME_COL}" ]; then
tput hpa "${TIME_COL}"
tput el
fi
# The status column is always 8 characters wide
STATUS_WIDTH=8