mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 02:31:45 +02:00
Fix cursor moving one line up when resizing
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
if (dest_y >= dest->ynum - 1) { \
|
||||
linebuf_index(dest, 0, dest->ynum - 1); \
|
||||
if (historybuf != NULL) { \
|
||||
linebuf_init_line(dest, dest->ynum - 1); \
|
||||
init_dest_line(dest->ynum - 1); \
|
||||
historybuf_add_line(historybuf, dest->line); \
|
||||
}\
|
||||
linebuf_clear_line(dest, dest->ynum - 1); \
|
||||
|
||||
Reference in New Issue
Block a user