Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(tests): needing two calls to setup a screen is cringe | bfredl | 2024-11-14 |
| | | | | | | | | | | Before calling "attach" a screen object is just a dummy container for (row, col) values whose purpose is to be sent as part of the "attach" function call anyway. Just create the screen in an attached state directly. Keep the complete (row, col, options) config together. It is still completely valid to later detach and re-attach as needed, including to another session. | ||
* | fix(scrollbind): properly take filler/virtual lines into account | Lewis Russell | 2024-07-31 |
Problem: `'scrollbind'` does not work properly if the window being scrolled automatically contains any filler/virtual lines (except for diff filler lines). This is because when the scrollbind check is done, the logic only considers changes to topline which are represented as line numbers. Solution: Write the logic for determine the scroll amount to take into account filler/virtual lines. Fixes #29751 |