summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-01 20:20:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-01 20:20:25 +0000
commit65f4284e7fe796e19b6d0c2ba57becee5394e730 (patch)
tree207e3aa25caa61dcf997640b703dab25507154c6 /tmux.1
parent99fa60f295ed7a11636a6efc547542f370b844c0 (diff)
New command, send-keys, to send a set of keys.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.114
1 files changed, 13 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 48a9618b..0e4714b7 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.23 2008-05-31 23:08:48 nicm Exp $
+.\" $Id: tmux.1,v 1.24 2008-06-01 20:20:25 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -421,6 +421,18 @@ This command works only if bound to a key.
.D1 (alias: Ic selectw )
Select the window at
.Ar index .
+.It Xo Ic send-keys Ar key Ar ...
+.Xc
+Send a key or keys to a window.
+Each argument
+.Ar key
+is the name of the key (such as
+.Ql ^A
+or
+.Ql npage
+) to send; if the string is not recognised as a key, it is sent as a series of
+characters.
+All the arguments are sent sequentially from first to last.
.It Xo Ic send-prefix
.Xc
Send the prefix key to a window as if it was pressed.