Project crashes on typing in cmd

I’m trying to enter some commands through the cmd prompt in the editor, but every time I try to type something it crashes the project. It doesn’t matter whether I do it in the output log or the small prompt opened by the ~ key. I can select the input field, but as soon as I start typing it crashes.

It works just fine on other projects, and it’s the first time I’m trying to use the cmd prompt on this project.

Is this a known issue and is there any way I can solve it without having to migrate everything over to a new project?