textinput: allow control+c / escape shortcut when the textinput is in read-only. closes #1305