When you load a prompt with setEditorText in that is larger than the screen, then everything falls apart:
Esc also stops working (ctrl+c still works though). I guess the editor component would have to start scrolling if it's reaching the limits of the terminal.