Removed check for tab key in the key_char event