[BACK]Return to screen-write.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/screen-write.c between version 1.209 and 1.210

version 1.209, 2022/08/02 11:09:26 version 1.210, 2022/10/25 09:04:49
Line 1505 
Line 1505 
   
         screen_write_collect_flush(ctx, 0, __func__);          screen_write_collect_flush(ctx, 0, __func__);
   
         screen_write_initctx(ctx, &ttyctx, 1);          if (ttyctx.redraw_cb != NULL) {
         ttyctx.redraw_cb(&ttyctx);                  screen_write_initctx(ctx, &ttyctx, 1);
                   ttyctx.redraw_cb(&ttyctx);
           }
 }  }
   
 /* Trim collected items. */  /* Trim collected items. */
Line 2127 
Line 2129 
         screen_write_collect_flush(ctx, 0, __func__);          screen_write_collect_flush(ctx, 0, __func__);
         screen_alternate_on(ctx->s, gc, cursor);          screen_alternate_on(ctx->s, gc, cursor);
   
         screen_write_initctx(ctx, &ttyctx, 1);          if (ttyctx.redraw_cb != NULL) {
         ttyctx.redraw_cb(&ttyctx);                  screen_write_initctx(ctx, &ttyctx, 1);
                   ttyctx.redraw_cb(&ttyctx);
           }
 }  }
   
 /* Turn alternate screen off. */  /* Turn alternate screen off. */
Line 2145 
Line 2149 
         screen_write_collect_flush(ctx, 0, __func__);          screen_write_collect_flush(ctx, 0, __func__);
         screen_alternate_off(ctx->s, gc, cursor);          screen_alternate_off(ctx->s, gc, cursor);
   
         screen_write_initctx(ctx, &ttyctx, 1);          if (ttyctx.redraw_cb != NULL) {
         ttyctx.redraw_cb(&ttyctx);                  screen_write_initctx(ctx, &ttyctx, 1);
                   ttyctx.redraw_cb(&ttyctx);
           }
 }  }

Legend:
Removed from v.1.209  
changed lines
  Added in v.1.210