SUMMARY A Node.js REPL is open inside Kate in a terminal, where I'm building database queries. I'm writing a script that will use some of the queries and the shapes of their results, so I look at the terminal while typing in the editor. My netbook doesn't have keys such as Delete, Home or End, so I'm using VI modes in Kate (really good built-in feature, thanks! In VSCodium I'm using an Emacs keymap extension). Every time I switch from the VI insert mode to the VI normal mode using Esc key, the terminal hides and I have to open it again with F4. STEPS TO REPRODUCE 1. Turn on VI mode in Kate editing settings, open a file to edit, F4 to open terminal, work there 2. Switch to the editor panel, press "i" to enter insert mode, insert something while looking at the terminal 3. Press Esc to switch to normal mode OBSERVED RESULT Normal mode is entered, at the same time the terminal closes. EXPECTED RESULT Normal mode is entered, but the terminal stays open. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.20.0 Qt Version: 6.9.2 Graphics Platform: Wayland ADDITIONAL INFORMATION Bug 446355 (https://bugs.kde.org/show_bug.cgi?id=446355) is about Vim inside a Kate terminal. This bug is about a terminal inside Kate in VI mode.