src/colog.js
function clearLine() {
        if (process.stdout.clearLine) {
            process.stdout.clearLine();
            process.stdout.cursorTo(0);
        } else {
            var str = '\r',
                i = 0;
            for (i = 0; i < lastLineLength; i++) {
                str += ' ';
            }
            process.stdout.write(str);
        }
        lastLineLength = 0;

        return self;
    }
function clearLine() {
        if (process.stdout.clearLine) {
            process.stdout.clearLine();
            process.stdout.cursorTo(0);
        } else {
            var str = '\r',
                i = 0;
            for (i = 0; i < lastLineLength; i++) {
                str += ' ';
            }
            process.stdout.write(str);
        }
        lastLineLength = 0;

        return self;
    }
Clear line until last new line white character