*bump* -John
On Wed, Jul 3, 2013 at 3:29 PM, John Szakmeister <j...@szakmeister.net> wrote: > Signed-off-by: John Szakmeister <j...@szakmeister.net> > --- > 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 openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel