Add an option for the `hide_cursor` command to hide the cursor when typing, i.e. whenever a key is pressed.