Input escape sequences

+ Support for arrow keys and End/Home