summaryrefslogtreecommitdiffstats
path: root/grid-view.c
diff options
context:
space:
mode:
authornicm <nicm>2019-08-16 08:52:25 +0000
committernicm <nicm>2019-08-16 08:52:25 +0000
commit5644d37876faf69ecf9f34cbd52e6cdfab83cf79 (patch)
treea9a7ed90e9a348810d600b956a390f860da154f6 /grid-view.c
parent21fae500897fcc3fa1bf561a2da3c439f5b5897b (diff)
grid_view_delete_cells does need to clear, GitHub issue 1871.
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c1
1 files changed, 1 insertions, 0 deletions
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. */