left-vertical -> main-vertical.

Also update CHANGES/TODO.
pull/1/head
Nicholas Marriott 2009-05-18 21:58:40 +00:00
parent 6e4b947d71
commit c21ffbc772
3 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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 <nicm@users.sourceforge.net>
@ -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;

4
tmux.1
View File

@ -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 <nicm@users.sourceforge.net>
.\"
@ -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