There are (more or less) valid cases when currentTerminalDisplay can be
not set:
- konsole started with --background-mode, sendText called via D-Bus
- text send through KPart's sendInput()
It can be assumed read-only is not set in this case.
This patch should also fix TerminalInterfaceTest. Currently the shell
probably doesn't get commands send through sendInput.