-
Couldn't load subscription status.
- Fork 8.9k
Description
Windows Terminal version
1.23.12371.0
Windows build number
10.0.26100.0
Other Software
WSL:
- WSL version:
2.5.9.0 - Kernel version:
6.6.87.2-1 - WSLg version:
1.0.66 - MSRDC version:
1.2.6074 - Direct3D version:
1.611.1-81528511 - DXCore version:
10.0.26100.1-240331-1435.ge-release - Windows version:
10.0.26100.4946
Neovim:
- NVIM
v0.11.3 - Build type:
Release - LuaJIT
2.1.1741730670
Plugin manager:
- dir:
/home/main/.local/share/nvim/lazy/lazy.nvim - url: https://github.com/folke/lazy.nvim
- version:
11.17.1 - tag:
v11.17.1 - branch:
main - commit:
6c3bda4
Plugin with interaction:
- dir:
/home/main/.local/share/nvim/lazy/noice.nvim - url: https://github.com/folke/noice.nvim
- branch:
main - commit:
0427460
Steps to reproduce
- Make sure
Windows Terminalis >= version1.23.12371.0:
- This bug only occurs with these specific
Windows Terminalsettings applied:
Hide the title bar: Off
Always show tabs: Off
- Launch Neovim inside WSL with this minimal
init.luaincluding a plugin manager and the plugin with the interaction along with it's required dependencies:
-- bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git", "clone", "--filter=blob:none",
"https://github.com/folke/lazy.nvim.git", lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
-- install noice, along with it's dependencies
{
"folke/noice.nvim",
event = "VeryLazy",
opts = {
},
dependencies = {
"MunifTanjim/nui.nvim",
}
}
})- Observe the extra padding below the statusline:
- Note that this padding is independent from these settings:
- To prove the above, change all padding to 0 and hide scrollbar visibility:
- Observe the extra padding's persistence:
- To prove that this only happens with the setting applied specified in step 2, turn both Hide the title bar and
Always show tabs back on:
- Observe the extra padding disappear:
The extra padding does not appear on Windows Terminal version: 1.22.12111.0 no matter what combination of settings/plugins you use. You can follow the steps above with any combination of settings/plugins and the padding won't appear.
Note: This issue specifically occurs with noice.nvim, a plugin that removes the traditional command line interface. (I tested with the base vim setting that also removes the command line vim.opt.cmdheight = 0and the bug did not appear.(If you decide to test this, you should restart your terminal to ensure stale states do not remain.))
Expected Behavior
No padding at the bottom
Actual Behavior
Padding at the bottom