From: Michael Tremer Date: Tue, 9 Jul 2024 21:26:25 +0000 (+0000) Subject: make.sh: Erase the line when resizing the screen X-Git-Tag: v2.29-core188~10^2~270 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56312598b369603c5d23237a91c0904def5225f2;p=ipfire-2.x.git make.sh: Erase the line when resizing the screen This should leave less clutter, but there is still some. Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index a26b472877..13ed5459b9 100755 --- a/make.sh +++ b/make.sh @@ -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