diff options
author | nicm <nicm> | 2021-01-18 10:27:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-01-18 10:27:54 +0000 |
commit | 91d112bf12789da07e25ed001f7961b1d6bd7a76 (patch) | |
tree | ab49fb6c0c384221466c910061afc622e1e59231 /grid.c | |
parent | 71c590a37f98d82c72279eddae74f9b8be146202 (diff) | |
download | rtmux-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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, |