diff options
author | 2017-06-09 09:21:24 +0000 | |
---|---|---|
committer | 2017-06-09 09:21:24 +0000 | |
commit | 8c303b1ff5917345176bdd029e34bc64642b93c7 (patch) | |
tree | 87c2bde483afa56e559b2d2fb73037e5134947cf /usr.bin/tmux/input.c | |
parent | Drop uneeded return from rollback_patch(). (diff) | |
download | wireguard-openbsd-8c303b1ff5917345176bdd029e34bc64642b93c7.tar.xz wireguard-openbsd-8c303b1ff5917345176bdd029e34bc64642b93c7.zip |
Add a hook when the clipboard is set.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 9359acb2a2b..d364321197c 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.125 2017/06/04 09:22:34 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.126 2017/06/09 09:21:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |