diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 17:59:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-10 17:59:32 +0800 |
commit | 5e5374035098807d030f7a3a118acb061a4ed19e (patch) | |
tree | b319466007907f7f515148c95780a420328d105a /src/nvim/screen.c | |
parent | 2966cfe21f8e19f684caf8e9253f40dad107f5ba (diff) | |
parent | 5105f713bdc3215379285670bc2961d7a2095e31 (diff) | |
download | rneovim-5e5374035098807d030f7a3a118acb061a4ed19e.tar.gz rneovim-5e5374035098807d030f7a3a118acb061a4ed19e.tar.bz2 rneovim-5e5374035098807d030f7a3a118acb061a4ed19e.zip |
Merge pull request #18774 from zeertzjq/float-height-width-fix
Fix some floating window height and width bugs
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 03d7cb1783..3d69d317fd 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -5493,7 +5493,7 @@ static void win_redr_border(win_T *wp) int *attrs = wp->w_float_config.border_attr; int *adj = wp->w_border_adj; - int irow = wp->w_height_inner, icol = wp->w_width_inner; + int irow = wp->w_height_inner + wp->w_winbar_height, icol = wp->w_width_inner; if (adj[0]) { grid_puts_line_start(grid, 0); |