Chatinput: fixed ctrl+a and ctrl+e