diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-05-12 16:18:31 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-05-12 16:18:31 +0100 |
commit | 833100076403fedcad5936a3a16260dd0bb029de (patch) | |
tree | 6c95bdfa94d2d6370bbb9e895f73b320a3dfba9a | |
parent | 20e30593a596056ba412924272040913b7ec2fd4 (diff) | |
parent | 2bff5e7867b4849019df04d77ecade300c6e3dce (diff) | |
download | rtmux-833100076403fedcad5936a3a16260dd0bb029de.tar.gz rtmux-833100076403fedcad5936a3a16260dd0bb029de.tar.bz2 rtmux-833100076403fedcad5936a3a16260dd0bb029de.zip |
Merge branch '2.5-rc'
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | grid.c | 2 | ||||
-rw-r--r-- | screen-write.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,9 @@ CHANGES FROM 2.4 to 2.5 09 May 2017 +* Fix ECH with a background colour. + +* Do not rely on the terminal not moving the cursor after DL or EL. + * Fix send-keys and send-prefix in copy-mode (so C-b C-b works). GitHub issue 905. @@ -472,7 +472,7 @@ grid_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) gd->linedata[yy].cellsize = px; continue; } - grid_expand_line(gd, yy, px + nx, bg); + grid_expand_line(gd, yy, px + nx, 8); /* default bg first */ for (xx = px; xx < px + nx; xx++) grid_clear_cell(gd, xx, yy, bg); } diff --git a/screen-write.c b/screen-write.c index 894da4b7..1af623b1 100644 --- a/screen-write.c +++ b/screen-write.c @@ -630,7 +630,7 @@ screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) screen_write_initctx(ctx, &ttyctx); ttyctx.bg = bg; - grid_view_clear(s->grid, s->cx, s->cy, nx, 1, 8); + grid_view_clear(s->grid, s->cx, s->cy, nx, 1, bg); screen_write_collect_flush(ctx, 0); ttyctx.num = nx; |