Steps to reproduce
- Start Vim in a clean environment:
- set laststatus and enable the netrw plugin:
:set laststatus=2
:packadd netrw
- Open netrw:
- Get the window ID of the netrw window(for example:1001):
- Ceate a new tabpage:
- Resize the netrw window in the new tabpage:
:call win_execute(1001, 'vertical resize 20')
- Switch back to the first tabpage:
- Observed: The command-line is not visible.
- Close the new tabpage:
- Observed: The command-line reappears.
Expected behaviour
The command-line is always visible.
Version of Vim
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Sep 19 2025 00:00:00)
Environment
OS:fedora 42
terminal: XTerm(397) and tmux(tmux-3.5a-4.fc42.x86_64)
$TERM:xterm-256color
shell:GNU bash, version 5.2.37(1)-release (x86_64-redhat-linux-gnu)
Logs and stack traces