Change disableInput behavior to allow programmatic edits but not inputs to the hidden textfield

I'm not exactly sure if I modified `readInput` correctly, but as far as I can tell it results in the desired behavior in vim mode.