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

Diff for /src/usr.bin/tmux/tty.c between version 1.401 and 1.402

version 1.401, 2021/08/13 18:54:54 version 1.402, 2021/08/17 08:44:52
Line 2039 
Line 2039 
 }  }
   
 void  void
 tty_cmd_syncstart(struct tty *tty, __unused const struct tty_ctx *ctx)  tty_cmd_syncstart(struct tty *tty, const struct tty_ctx *ctx)
 {  {
         tty_sync_start(tty);          if (ctx->num == 0x11) {
                   /*
                    * This is an overlay and a command that moves, the cursor so
                    * start synchronized updates.
                    */
                   tty_sync_start(tty);
           } else if (~ctx->num & 0x10) {
                   /*
                    * This is a pane. If there is an overlay, always start;
                    * otherwise, only if requested.
                    */
                   if (ctx->num || tty->client->overlay_draw != NULL)
                           tty_sync_start(tty);
           }
 }  }
   
 void  void

Legend:
Removed from v.1.401  
changed lines
  Added in v.1.402