Handle backspace in preview window as a terminal

Thanks to Svenn Are Bjerkem, a.k.a. svenn.
Merge branch 'handle-backspace-as-term'

Handle backspace in preview window as a terminal.

Thanks to Svenn Are Bjerkem, a.k.a. svenn.