Is there a method for printing to the console without a trailing newline? The console object documentation doesn\'t say anything regarding that:
console
None of these solutions work for me, process.stdout.write('ok\033[0G') and just using '\r' just create a new line but don't overwrite on Mac OSX 10.9.2.
process.stdout.write('ok\033[0G')
'\r'
EDIT: I had to use this to replace the current line:
process.stdout.write('\033[0G'); process.stdout.write('newstuff');