aboutsummaryrefslogtreecommitdiff
path: root/cmd-split-window.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 142:Tiago Cunha2009-07-20
| | | | | | | | | | | | | | | | | | | | | | | | 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 toNicholas Marriott2009-07-14
| | | | | | | | | | 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.
* Fix $Id$.Nicholas Marriott2009-07-08
|
* The fix for default-path (use target session options instead of global options)Nicholas Marriott2009-07-08
| | | | | is required here as well, doh.
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* lines variable can be -1 (to be ignored), so should be signed. Found by lint.Nicholas Marriott2009-06-25
|
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* rotate-window command.Nicholas Marriott2009-04-03
|
* - Allow switching to hidden windows (for active-only layout).Nicholas Marriott2009-04-01
| | | | | - Don't update unnecessarily for other layouts when changing active pane doesn't matter.
* Basic horizontal splitting and layout management. Still some redraw and otherNicholas Marriott2009-04-01
| | | | | | | | | | | issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along.
* Put socket path in $TMUX.Nicholas Marriott2009-03-04
|
* Better error messages for fork.Nicholas Marriott2009-01-23
|
* Bring back -p and -l to splitw to specify height as % or nlines.Nicholas Marriott2009-01-21
|
* Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott2009-01-19
| | | | command line.
* Support command sequences separated by " ; ". Also clean up command printing.Nicholas Marriott2009-01-18
|
* Multiple window splitting.Nicholas Marriott2009-01-14
|
* Make the window pane code handle panes of different sizes, and add a -l and ↵Nicholas Marriott2009-01-12
| | | | -p arguments to split-window to specify the new window size in lines or as a percentage.
* Codes no longer needed.Nicholas Marriott2009-01-11
|
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
still a couple of bugs (notably heap corruption somewhere causing segfault on exit).