From 982cfcb5740407f427a8de0b03cd465ebd0c6337 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 19 Dec 2010 18:35:09 +0000 Subject: Add other-pane-height and other-pane-width options, allowing the width or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad. --- usr.bin/tmux/tmux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/tmux.c') diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index d07308a3ba3..75f1a1da14c 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.96 2010/12/08 19:57:03 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.97 2010/12/19 18:35:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -404,6 +404,8 @@ main(int argc, char **argv) options_set_number(wo, "monitor-activity", 0); options_set_string(wo, "monitor-content", "%s", ""); options_set_number(wo, "monitor-silence", 0); + options_set_number(wo, "other-pane-height", 0); + options_set_number(wo, "other-pane-width", 0); options_set_number(wo, "window-status-attr", 0); options_set_number(wo, "window-status-bg", 8); options_set_number(wo, "window-status-current-attr", 0); -- cgit v1.2.3