[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.347 and 1.348

version 1.347, 2020/04/09 12:16:16 version 1.348, 2020/04/16 13:35:24
Line 1426 
Line 1426 
         tty_update_mode(tty, tty->mode, s);          tty_update_mode(tty, tty->mode, s);
 }  }
   
   void
   tty_sync_start(struct tty *tty)
   {
           if ((tty->term->flags|tty->term_flags) & TERM_SYNC)
                   tty_puts(tty, "\033P=1s\033\\");
   }
   
   void
   tty_sync_end(struct tty *tty)
   {
           if ((tty->term->flags|tty->term_flags) & TERM_SYNC)
                   tty_puts(tty, "\033P=2s\033\\");
   }
   
 static int  static int
 tty_client_ready(struct client *c, struct window_pane *wp)  tty_client_ready(struct client *c, struct window_pane *wp)
 {  {
Line 1917 
Line 1931 
 {  {
         tty_add(tty, ctx->ptr, ctx->num);          tty_add(tty, ctx->ptr, ctx->num);
         tty_invalidate(tty);          tty_invalidate(tty);
   }
   
   void
   tty_cmd_syncstart(struct tty *tty, __unused const struct tty_ctx *ctx)
   {
           tty_sync_start(tty);
   }
   
   void
   tty_cmd_syncend(struct tty *tty, __unused const struct tty_ctx *ctx)
   {
           tty_sync_end(tty);
 }  }
   
 static void  static void

Legend:
Removed from v.1.347  
changed lines
  Added in v.1.348