mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
fix(ui): redraw end of buffer if last line is modified (#20354)
This commit is contained in:
@@ -1965,7 +1965,8 @@ win_update_start:
|
||||
if (mid_end >= row) {
|
||||
lastline = MIN(lastline, mid_start);
|
||||
}
|
||||
if (mod_bot > buf->b_ml.ml_line_count + 1) {
|
||||
// if (mod_bot > buf->b_ml.ml_line_count + 1) {
|
||||
if (mod_bot > buf->b_ml.ml_line_count) {
|
||||
lastline = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user