summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-split-window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved layout code.nicm2009-07-191-34/+65
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Having fixed flags for single-character getopt options is a bit hard tonicm2009-07-131-2/+2
| | | | | | | | | maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
* The fix for default-path (use target session options instead of global options)nicm2009-07-071-2/+2
| | | | is required here as well, doh.
* lines variable can be -1 (to be ignored), so should be signed. Found by lint.nicm2009-06-251-2/+3
|
* Import tmux, a terminal multiplexor allowing (among other things) a singlenicm2009-06-011-0/+235
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti