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

Diff for /src/usr.bin/tmux/screen-redraw.c between version 1.66 and 1.67

version 1.66, 2020/03/24 08:09:44 version 1.67, 2020/04/16 13:35:24
Line 435 
Line 435 
   
         flags = screen_redraw_update(c, c->flags);          flags = screen_redraw_update(c, c->flags);
         screen_redraw_set_context(c, &ctx);          screen_redraw_set_context(c, &ctx);
           tty_sync_start(&c->tty);
   
         if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) {          if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) {
                 if (ctx.pane_status != PANE_STATUS_OFF)                  if (ctx.pane_status != PANE_STATUS_OFF)
Line 448 
Line 449 
                 screen_redraw_draw_status(&ctx);                  screen_redraw_draw_status(&ctx);
         if (c->overlay_draw != NULL && (flags & CLIENT_REDRAWOVERLAY))          if (c->overlay_draw != NULL && (flags & CLIENT_REDRAWOVERLAY))
                 c->overlay_draw(c, &ctx);                  c->overlay_draw(c, &ctx);
   
         tty_reset(&c->tty);          tty_reset(&c->tty);
           tty_sync_end(&c->tty);
 }  }
   
 /* Redraw a single pane. */  /* Redraw a single pane. */
Line 461 
Line 464 
                 return;                  return;
   
         screen_redraw_set_context(c, &ctx);          screen_redraw_set_context(c, &ctx);
           tty_sync_start(&c->tty);
   
         screen_redraw_draw_pane(&ctx, wp);          screen_redraw_draw_pane(&ctx, wp);
   
         tty_reset(&c->tty);          tty_reset(&c->tty);
           tty_sync_end(&c->tty);
 }  }
   
 /* Draw a border cell. */  /* Draw a border cell. */

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67