[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.198 and 1.199

version 1.198, 2021/08/12 11:35:53 version 1.199, 2021/08/17 08:44:52
Line 197 
Line 197 
                 }                  }
         }          }
   
         if (ctx->wp != NULL &&          if (~ctx->flags & SCREEN_WRITE_SYNC) {
             (~ctx->flags & SCREEN_WRITE_SYNC) &&                  /*
             (sync || ctx->wp != ctx->wp->window->active)) {                   * For the active pane or for an overlay (no pane), we want to
                    * only use synchronized updates if requested (commands that
                    * move the cursor); for other panes, always use it, since the
                    * cursor will have to move.
                    */
                   if (ctx->wp != NULL) {
                           if (ctx->wp != ctx->wp->window->active)
                                   ttyctx->num = 1;
                           else
                                   ttyctx->num = sync;
                   } else
                           ttyctx->num = 0x10|sync;
                 tty_write(tty_cmd_syncstart, ttyctx);                  tty_write(tty_cmd_syncstart, ttyctx);
                 ctx->flags |= SCREEN_WRITE_SYNC;                  ctx->flags |= SCREEN_WRITE_SYNC;
         }          }

Legend:
Removed from v.1.198  
changed lines
  Added in v.1.199