diff options
author | 2010-04-25 20:28:13 +0000 | |
---|---|---|
committer | 2010-04-25 20:28:13 +0000 | |
commit | fcae69d197f72621c842b49a464027c5f530d4fe (patch) | |
tree | 5b7ac0899c6bbecc5c29c2cc439840924ab1faa0 /usr.bin/tmux/cmd-select-layout.c | |
parent | If setting close-on-exec flag fails (can this happen?), the wrong (diff) | |
download | wireguard-openbsd-fcae69d197f72621c842b49a464027c5f530d4fe.tar.xz wireguard-openbsd-fcae69d197f72621c842b49a464027c5f530d4fe.zip |
Add a tiled layout, originally from Liam Bedford a while ago, fixed up
by me.
Diffstat (limited to 'usr.bin/tmux/cmd-select-layout.c')
-rw-r--r-- | usr.bin/tmux/cmd-select-layout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-select-layout.c b/usr.bin/tmux/cmd-select-layout.c index 088a41ed4a4..1de208af714 100644 --- a/usr.bin/tmux/cmd-select-layout.c +++ b/usr.bin/tmux/cmd-select-layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-select-layout.c,v 1.8 2009/12/03 22:50:10 nicm Exp $ */ +/* $OpenBSD: cmd-select-layout.c,v 1.9 2010/04/25 20:28:13 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -59,6 +59,9 @@ cmd_select_layout_init(struct cmd *self, int key) case ('4' | KEYC_ESCAPE): data->arg = xstrdup("main-vertical"); break; + case ('5' | KEYC_ESCAPE): + data->arg = xstrdup("tiled"); + break; } } |