add feature that disables caret after string has been typed
add feature that disables caret after string has been typed