You're coding some Ruby. You use gets.chomp to get user input. You run your ruby file. You type some text at the prompt. Looks good, right? But then you press the left arrow key and... ^[[D appears on the screen. WTF is that?