console: Insert a carriage return on newline

Do not use \n\r to terminate lines. It is ugly. Instead, automatically
insert a carriage return ('\r') before every line feed ('\n').

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>