added ctrl+v support to the text input state