summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/key-string.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-10-04 08:50:05 +0000
committernicm <nicm@openbsd.org>2009-10-04 08:50:05 +0000
commitd9312b7427afeae3164fa52db3ae38c7bd378e88 (patch)
tree38bc2a61030ba17b23f5e357f8002391bb204699 /usr.bin/tmux/key-string.c
parentC-v and M-v too. (diff)
downloadwireguard-openbsd-d9312b7427afeae3164fa52db3ae38c7bd378e88.tar.xz
wireguard-openbsd-d9312b7427afeae3164fa52db3ae38c7bd378e88.zip
Add a key string for space ("Space") and document the names, suggested by
guenther@. Also document how to bind " and ', suggested by miod@.
Diffstat (limited to 'usr.bin/tmux/key-string.c')
-rw-r--r--usr.bin/tmux/key-string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/key-string.c b/usr.bin/tmux/key-string.c
index b2445b49a3f..54baeaa32b5 100644
--- a/usr.bin/tmux/key-string.c
+++ b/usr.bin/tmux/key-string.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key-string.c,v 1.6 2009/07/28 09:18:01 nicm Exp $ */
+/* $OpenBSD: key-string.c,v 1.7 2009/10/04 08:50:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -57,6 +57,7 @@ struct {
{ "PPage", KEYC_PPAGE },
{ "Tab", '\011' },
{ "BTab", KEYC_BTAB },
+ { "Space", ' ' },
{ "BSpace", KEYC_BSPACE },
{ "Enter", '\r' },
{ "Escape", '\033' },