diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-30 14:41:59 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-12-30 14:45:28 +0800 |
commit | 83472b3808c3cda869471442793ece9e7a0ce261 (patch) | |
tree | 0950eaa420f509119ac4b3c7cd423f586ca89657 /src/nvim/buffer_defs.h | |
parent | 4703e561d5bc0eef13da171c4f8f8b6e02ae4883 (diff) | |
download | rneovim-83472b3808c3cda869471442793ece9e7a0ce261.tar.gz rneovim-83472b3808c3cda869471442793ece9e7a0ce261.tar.bz2 rneovim-83472b3808c3cda869471442793ece9e7a0ce261.zip |
vim-patch:8.2.{3773,3774}
vim-patch:8.2.3773: wrong window size when a modeline changes 'columns'
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes vim/vim#9315)
https://github.com/vim/vim/commit/8a7374f8c4eb4c016270ad908a43af4ddedcbf56
vim-patch:8.2.3774: test for command line height fails
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
https://github.com/vim/vim/commit/b711814cb64b60ec4918e3e1fb2ca5c50d6e9340
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 90fdaf9d3b..df4ebdffc0 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -903,7 +903,8 @@ struct tabpage_S { win_T *tp_firstwin; ///< first window in this Tab page win_T *tp_lastwin; ///< last window in this Tab page long tp_old_Rows_avail; ///< ROWS_AVAIL when Tab page was left - long tp_old_Columns; ///< Columns when Tab page was left + long tp_old_Columns; ///< Columns when Tab page was left, -1 when + ///< calling win_new_screen_cols() postponed long tp_ch_used; ///< value of 'cmdheight' when frame size was set diff_T *tp_first_diff; |