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

Diff for /src/usr.bin/tmux/input.c between version 1.141 and 1.142

version 1.141, 2019/03/12 07:39:27 version 1.142, 2019/03/12 11:16:50
Line 805 
Line 805 
         input_reset_cell(ictx);          input_reset_cell(ictx);
   
         if (clear) {          if (clear) {
                 if (wp->mode == NULL)                  if (TAILQ_EMPTY(&wp->modes))
                         screen_write_start(&ictx->ctx, wp, &wp->base);                          screen_write_start(&ictx->ctx, wp, &wp->base);
                 else                  else
                         screen_write_start(&ictx->ctx, NULL, &wp->base);                          screen_write_start(&ictx->ctx, NULL, &wp->base);
Line 861 
Line 861 
          * Open the screen. Use NULL wp if there is a mode set as don't want to           * Open the screen. Use NULL wp if there is a mode set as don't want to
          * update the tty.           * update the tty.
          */           */
         if (wp->mode == NULL)          if (TAILQ_EMPTY(&wp->modes))
                 screen_write_start(&ictx->ctx, wp, &wp->base);                  screen_write_start(&ictx->ctx, wp, &wp->base);
         else          else
                 screen_write_start(&ictx->ctx, NULL, &wp->base);                  screen_write_start(&ictx->ctx, NULL, &wp->base);

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142