Sometimes when I'm messing around with putty and do a Ctrl+C on certain commands (or similar), the terminal get messed up.
By "messed up" I mean that when I press enter, the newline is not inserted and the entire layout get messed up. Also, when I write something it doesn't appear, only when I press enter.
Like that:
Why this happens? What can I do to reverse this ... bug? I know that closing and reopening the console is a "solution", but sometimes that's annoying, there must be a way...