Fix some lines in the scrollback buffer not being properly rendered after a window resize/font size change

Fixes #2619
This commit is contained in:
Kovid Goyal 2020-09-18 08:26:50 +05:30
parent ca6010789e
commit b4693dc1b3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Fix a memory leak when changing font sizes
- Fix some lines in the scrollback buffer not being properly rendered after a
window resize/font size change (:iss:`2619`)
0.18.3 [2020-08-11]
-------------------

View File

@ -29,6 +29,7 @@
linebuf_index(dest, 0, dest->ynum - 1); \
if (historybuf != NULL) { \
init_dest_line(dest->ynum - 1); \
dest->line->has_dirty_text = true; \
historybuf_add_line(historybuf, dest->line); \
}\
linebuf_clear_line(dest, dest->ynum - 1); \