Add caret to chat textbox