version 1.334, 2022/05/30 13:00:19 |
version 1.335, 2022/06/09 09:12:55 |
|
|
|
|
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); |
} |
} |
|
|
|
|
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); |
} |
} |