summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/layout-set.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Some more long lines.nicm2014-04-171-3/+3
|
* Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.nicm2011-11-091-3/+3
|
* Prevent tiled producing a corrupt layout when only one column is needed,nicm2011-03-071-2/+2
| | | | from Karl Ferdinand Ebert.
* Add other-pane-height and other-pane-width options, allowing the widthnicm2010-12-191-5/+25
| | | | | or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad.
* In the built-in layouts, distribute the panes more evenly. Set thenicm2010-12-081-44/+43
| | | | default value of main-pane-width to 80, rather than 81. By Micah Cowan.
* Add a tiled layout, originally from Liam Bedford a while ago, fixed upnicm2010-04-251-1/+102
| | | | by me.
* Fix divide by zero on small windows with main-* layouts.nicm2010-02-031-1/+5
|
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastnicm2009-12-031-11/+11
| | | | | time now I've configured emacs to make them displayed in really annoying colours...
* If select-layout is not given an argument, repply the last layout used in thenicm2009-07-281-13/+24
| | | | window, if any.
* Kill some dead stores and fix a null pointer deref, found by clang.nicm2009-07-201-7/+5
|
* Improved layout code.nicm2009-07-191-0/+436
Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.