From 01ebc8f15a48aa269676748774e719086d263c86 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 25 Oct 2021 20:05:26 +0530 Subject: [PATCH] Use a space as content placeholder when resizing --- kitty/screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/screen.c b/kitty/screen.c index 82028cf6c..27afbc914 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -317,7 +317,8 @@ found: // this is needed because screen_resize() checks to see if the cursor is beyond the content, // so insert some fake content Line *line = self->linebuf->line; - line->cpu_cells[0].ch = '>'; + // we use a space as readline does not erase to bottom of screen so we fake it with spaces + line->cpu_cells[0].ch = ' '; } } }