Add a hook when the clipboard is set.

This commit is contained in:
nicm
2017-06-09 09:21:24 +00:00
parent 8c4ae1c938
commit 74b2deae1c
3 changed files with 13 additions and 4 deletions

View File

@ -2174,6 +2174,7 @@ input_osc_52(struct window_pane *wp, const char *p)
screen_write_start(&ctx, wp, NULL);
screen_write_setselection(&ctx, out, outlen);
screen_write_stop(&ctx);
notify_pane("pane-set-clipboard", wp);
paste_add(out, outlen);
}