Remove useless new lines in console prompt