From c21ffbc7729b91d29db2fe025e130a4465d788b9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 18 May 2009 21:58:40 +0000 Subject: [PATCH] left-vertical -> main-vertical. Also update CHANGES/TODO. --- CHANGES | 8 +++++++- layout.c | 8 ++++---- tmux.1 | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 5efcb712..f6cd2fc7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +18 May 2009 + +* New window option main-pane-width to set the width of the large left pane with + main-vertical (was left-vertical) layout. +* Lots of layout cleanup. manual layout is now manual-vertical. + 16 May 2009 * select-layout command and a few default key bindings (M-0, M-1, M-2, M-9) to @@ -1263,7 +1269,7 @@ (including mutt, emacs). No status bar yet and no key remapping or other customisation. -$Id: CHANGES,v 1.290 2009-05-16 11:48:47 nicm Exp $ +$Id: CHANGES,v 1.291 2009-05-18 21:58:40 nicm Exp $ LocalWords: showw utf UTF fulvio ciriaco joshe OSC APC gettime abc DEF OA clr LocalWords: rivo nurges lscm Erdely eol smysession mysession ek dstname RB ms diff --git a/layout.c b/layout.c index a01c0d09..b3e7e963 100644 --- a/layout.c +++ b/layout.c @@ -1,4 +1,4 @@ -/* $Id: layout.c,v 1.12 2009-05-18 21:55:53 nicm Exp $ */ +/* $Id: layout.c,v 1.13 2009-05-18 21:58:40 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -34,7 +34,7 @@ void layout_active_only_refresh(struct window *, int); void layout_even_h_refresh(struct window *, int); void layout_even_v_refresh(struct window *, int); -void layout_left_v_refresh(struct window *, int); +void layout_main_v_refresh(struct window *, int); const struct { const char *name; @@ -45,7 +45,7 @@ const struct { { "active-only", layout_active_only_refresh, NULL }, { "even-horizontal", layout_even_h_refresh, NULL }, { "even-vertical", layout_even_v_refresh, NULL }, - { "left-vertical", layout_left_v_refresh, NULL }, + { "main-vertical", layout_main_v_refresh, NULL }, }; const char * @@ -231,7 +231,7 @@ layout_even_v_refresh(struct window *w, int active_only) } void -layout_left_v_refresh(struct window *w, int active_only) +layout_main_v_refresh(struct window *w, int active_only) { struct window_pane *wp; u_int i, n, mainwidth, height, yoff; diff --git a/tmux.1 b/tmux.1 index aeedd612..26958238 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.95 2009-05-04 17:58:27 nicm Exp $ +.\" $Id: tmux.1,v 1.96 2009-05-18 21:58:40 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -330,7 +330,7 @@ Only the active pane is shown - all other panes are hidden. Panes are spread out evenly from left to right across the window. .It Ic even-vertical Panes are spread evenly from top to bottom. -.It Ic left-vertical +.It Ic main-vertical A large (81 column) pane is shown on the left of the window and the remaining panes are spread from top to bottom in the leftover space to the right. .El