Signed-off-by: John Szakmeister <[email protected]> --- include/scan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I noticed that the progress output was stepping all over itself, which made it hard to read. This uses a standard escape sequence to clear the line first. -John diff --git a/include/scan.mk b/include/scan.mk index b2b202d..0a43a92 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -13,7 +13,7 @@ FILELIST:=$(TMP_DIR)/info/.files-$(SCAN_TARGET)-$(SCAN_COOKIE) ifeq ($(IS_TTY),1) define progress - printf "\033[M\r$(1)" >&2; + printf "\033[2K\033[M\r$(1)" >&2; endef else define progress -- 1.8.3.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
