satellite.nvim icon indicating copy to clipboard operation
satellite.nvim copied to clipboard

fix: winbar not being included in window height calculations

Open 0xAdk opened this issue 2 years ago • 0 comments

Fixes a few off by one rendering errors such as #18 and an unreported issue where when scrolling with the mouse the scroll bar is able to move off the screen by one

this utilizes the change in nightly https://github.com/neovim/neovim/issues/14090#issuecomment-1225699877

I am torn on if using the non api function or creating a new winbar aware utility function that utilizes the api is a better idea. I don't know how obscure the difference between winheight() and nvim_win_get_height() is. It might lead to confusion while reading the code :/

0xAdk avatar Aug 30 '22 05:08 0xAdk