diff options
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c index 74c736c24d..5fe25f554f 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1598,6 +1598,15 @@ win_line( } } } + + if (number_only) + { + // skip over rows only used for virtual text above + wlv.row += wlv.text_prop_above_count; + if (wlv.row > endrow) + return wlv.row; + wlv.screen_row += wlv.text_prop_above_count; + } #endif // 'nowrap' or 'wrap' and a single line that doesn't fit: Advance to the |