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

Diff for /src/usr.bin/tmux/window-copy.c between version 1.334 and 1.335

version 1.334, 2022/05/30 13:00:19 version 1.335, 2022/06/09 09:12:55
Line 4570 
Line 4570 
   
         if (options_get_number(global_options, "set-clipboard") != 0) {          if (options_get_number(global_options, "set-clipboard") != 0) {
                 screen_write_start_pane(&ctx, wp, NULL);                  screen_write_start_pane(&ctx, wp, NULL);
                 screen_write_setselection(&ctx, buf, len);                  screen_write_setselection(&ctx, "", buf, len);
                 screen_write_stop(&ctx);                  screen_write_stop(&ctx);
                 notify_pane("pane-set-clipboard", wp);                  notify_pane("pane-set-clipboard", wp);
         }          }
Line 4644 
Line 4644 
   
         if (options_get_number(global_options, "set-clipboard") != 0) {          if (options_get_number(global_options, "set-clipboard") != 0) {
                 screen_write_start_pane(&ctx, wp, NULL);                  screen_write_start_pane(&ctx, wp, NULL);
                 screen_write_setselection(&ctx, buf, len);                  screen_write_setselection(&ctx, "", buf, len);
                 screen_write_stop(&ctx);                  screen_write_stop(&ctx);
                 notify_pane("pane-set-clipboard", wp);                  notify_pane("pane-set-clipboard", wp);
         }          }

Legend:
Removed from v.1.334  
changed lines
  Added in v.1.335