From 5644d37876faf69ecf9f34cbd52e6cdfab83cf79 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 16 Aug 2019 08:52:25 +0000 Subject: [PATCH] grid_view_delete_cells does need to clear, GitHub issue 1871. --- grid-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/grid-view.c b/grid-view.c index fa3bfbf6..a4bd5ba2 100644 --- a/grid-view.c +++ b/grid-view.c @@ -214,6 +214,7 @@ grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) sx = grid_view_x(gd, gd->sx); grid_move_cells(gd, px, px + nx, py, sx - px - nx, bg); + grid_clear(gd, sx - nx, py, px + nx - (sx - nx), 1, bg); } /* Convert cells into a string. */