aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authornicm <nicm>2021-01-18 10:27:54 +0000
committernicm <nicm>2021-01-18 10:27:54 +0000
commit91d112bf12789da07e25ed001f7961b1d6bd7a76 (patch)
treeab49fb6c0c384221466c910061afc622e1e59231 /grid.c
parent71c590a37f98d82c72279eddae74f9b8be146202 (diff)
downloadrtmux-91d112bf12789da07e25ed001f7961b1d6bd7a76.tar.gz
rtmux-91d112bf12789da07e25ed001f7961b1d6bd7a76.tar.bz2
rtmux-91d112bf12789da07e25ed001f7961b1d6bd7a76.zip
There is no need to clear every line entirely before drawing to it, this
means moving the cursor and messes up wrapping. Better to just clear the sections that aren't written over. GitHub issue 2537.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/grid.c b/grid.c
index 96302fc3..cce304c9 100644
--- a/grid.c
+++ b/grid.c
@@ -698,7 +698,6 @@ grid_move_lines(struct grid *gd, u_int dy, u_int py, u_int ny, u_int bg)
gd->linedata[py - 1].flags &= ~GRID_LINE_WRAPPED;
}
-
/* Move a group of cells. */
void
grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx,