mirror of
https://github.com/tmux/tmux.git
synced 2026-10-10 04:04:27 +00:00
Rebased on current master without conflicts and completed the cleanup: comments above new function in longer functions, metadata comments, aligned declarations and simpler guards, consistent braces and shorter lines.
This commit is contained in:
@@ -403,9 +403,10 @@ screen_write_image_damage(struct screen_write_ctx *ctx, u_int x, u_int y,
|
||||
u_int sx, u_int sy)
|
||||
{
|
||||
image_redraw_area(ctx, x, y, sx, sy);
|
||||
if (ctx->flags & SCREEN_WRITE_INPUT)
|
||||
if (ctx->flags & SCREEN_WRITE_INPUT) {
|
||||
image_grid_remove_overwritten_spans(ctx->s->grid, x,
|
||||
ctx->s->grid->hsize + y, sx, sy);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1491,9 +1492,10 @@ screen_write_alignmenttest(struct screen_write_ctx *ctx)
|
||||
|
||||
#ifdef ENABLE_IMAGES
|
||||
image_redraw_all(ctx);
|
||||
if (ctx->flags & SCREEN_WRITE_INPUT)
|
||||
if (ctx->flags & SCREEN_WRITE_INPUT) {
|
||||
image_grid_remove_overwritten_spans(s->grid, 0, s->grid->hsize,
|
||||
screen_size_x(s), screen_size_y(s));
|
||||
}
|
||||
#endif
|
||||
|
||||
for (yy = 0; yy < screen_size_y(s); yy++) {
|
||||
|
||||
Reference in New Issue
Block a user