=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.908 retrieving revision 1.909 diff -u -r1.908 -r1.909 --- src/usr.bin/tmux/tmux.1 2022/11/11 08:37:55 1.908 +++ src/usr.bin/tmux/tmux.1 2022/12/16 08:13:40 1.909 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.908 2022/11/11 08:37:55 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.909 2022/12/16 08:13:40 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 11 2022 $ +.Dd $Mdocdate: December 16 2022 $ .Dt TMUX 1 .Os .Sh NAME @@ -3212,13 +3212,14 @@ lists the command for keys that do not have a note rather than skipping them. .Tg send .It Xo Ic send-keys -.Op Fl FHlMRX +.Op Fl FHKlMRX +.Op Fl c Ar target-client .Op Fl N Ar repeat-count .Op Fl t Ar target-pane .Ar key Ar ... .Xc .D1 Pq alias: Ic send -Send a key or keys to a window. +Send a key or keys to a window or client. Each argument .Ar key is the name of the key (such as @@ -3227,6 +3228,12 @@ .Ql NPage ) to send; if the string is not recognised as a key, it is sent as a series of characters. +If +.Fl K +is given, keys are sent to +.Ar target-client , +so they are looked up in the client's key table, rather than to +.Ar target-pane . All arguments are sent sequentially from first to last. If no keys are given and the command is bound to a key, then that key is used. .Pp