fixed bug with input entry cursor not behaving when trying to enter control characters