### Steps to reproduce 1. create test.vim ``` call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/vimfiles/plugged') Plug 'https://github.com/itchyny/lightline.vim.git' call plug#end() set laststatus=2 ``` 2. PlugInstall to install lightline 3. open cmd.exe or powershell.exe 4. vim -u test.vim 5. resize the terminal to see the result. cmd.exe: https://user-images.githubusercontent.com/75968004/176375997-5b74cf14-7f81-47a2-8e7d-fab98970a19c.mp4 powershell.exe https://user-images.githubusercontent.com/75968004/176375323-b8eae66a-a986-4d04-af94-6855c1acc183.mp4 ### Expected behaviour Not flickering and overflow, behavior like neovim. ### Version of Vim 9.0.0001 ### Environment OS: Windows 11 ### Logs and stack traces _No response_