Fix logger not overwriting the previous line in alternate shells

When running the 'update' task in bash, the output is all collapsed onto one line.
On Windows, even using an ANSI capable shell, running 'update' spams the console.

This change uses more commonly supported ANSI:
- CSI A - cursor up
- CSI 999 D - cursor back to the first column
- CSI 2 K - clear the line

Tested with dash in Ubuntu; ANSICON, Console2 and ConsoleZ in Windows.