I'm using vim (actually, neovim) on macOS and whenever I run a command which outputs text (e.g.
:version) and switch to another Desktop (so iTerm looses focus) and get back to it, the output window/pane is gone.
How can I stop it from automatically closing, even when the
Press ENTER or type command to continue is shown? (which is actually a lie, as it continues without me pressing ENTER or typing a command)