From 16542e96bff7c79245d11d181dfa96c7aa517619 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 6 Dec 2018 12:56:24 +0530 Subject: [PATCH] Fix resizing window smaller and then restoring causing some wrapped lines to not be properly unwrapped Fix #1206 --- docs/changelog.rst | 3 +++ kitty/rewrap.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 406a19175..f709478f6 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,6 +13,9 @@ Changelog selection of bold/italic fonts when using aliases such as "monospace" to not work (:iss:`1209`) +- Fix resizing window smaller and then restoring causing some wrapped lines to not + be properly unwrapped (:iss:`1206`) + 0.13.0 [2018-12-05] ------------------------------ diff --git a/kitty/rewrap.h b/kitty/rewrap.h index e58c93d08..2db3d3d28 100644 --- a/kitty/rewrap.h +++ b/kitty/rewrap.h @@ -16,7 +16,7 @@ #endif #ifndef init_dest_line -#define init_dest_line(dest_y) init_line(dest, dest->line, dest->line_map[dest_y]); +#define init_dest_line(dest_y) init_line(dest, dest->line, dest->line_map[dest_y]); dest->line->continued = dest->line_attrs[dest_y]; #endif #ifndef first_dest_line