[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.207 and 1.208

version 1.207, 2022/03/17 13:39:13 version 1.208, 2022/06/09 09:12:55
Line 2085 
Line 2085 
   
 /* Set external clipboard. */  /* Set external clipboard. */
 void  void
 screen_write_setselection(struct screen_write_ctx *ctx, u_char *str, u_int len)  screen_write_setselection(struct screen_write_ctx *ctx, const char *flags,
       u_char *str, u_int len)
 {  {
         struct tty_ctx  ttyctx;          struct tty_ctx  ttyctx;
   
         screen_write_initctx(ctx, &ttyctx, 0);          screen_write_initctx(ctx, &ttyctx, 0);
         ttyctx.ptr = str;          ttyctx.ptr = str;
           ttyctx.ptr2 = (void *)flags;
         ttyctx.num = len;          ttyctx.num = len;
   
         tty_write(tty_cmd_setselection, &ttyctx);          tty_write(tty_cmd_setselection, &ttyctx);

Legend:
Removed from v.1.207  
changed lines
  Added in v.1.208