This fixes the issue that spawning the editor trashes the terminal. The signature of the Runtime::editor() function changed, which has to be fixed in using code.