vim-patch:9.0.1025: WinScrolled is not triggered when filler lines change (#21325)

Problem:    WinScrolled is not triggered when filler lines change.
Solution:   Add "topfill" to the values that WinScrolled triggers on.
            (closes vim/vim#11668)

3fc84dc2c7

Cherry-pick StopVimInTerminal() from patch 9.0.1010.
This commit is contained in:
zeertzjq
2022-12-07 18:34:39 +08:00
committed by GitHub
parent f8aa2a0dea
commit f92aab5f70
5 changed files with 159 additions and 46 deletions

View File

@@ -1193,6 +1193,7 @@ struct window_S {
// five fields that are only used when there is a WinScrolled autocommand
linenr_T w_last_topline; ///< last known value for w_topline
linenr_T w_last_topfill; ///< last known value for w_topfill
colnr_T w_last_leftcol; ///< last known value for w_leftcol
colnr_T w_last_skipcol; ///< last known value for w_skipcol
int w_last_width; ///< last known value for w_width