#
666a6e57 |
| 21-Jul-2009 |
nicm <nicm@openbsd.org> |
Tidy up keys: use an enum for the key codes, and remove the macros which just wrap flag sets/clears/tests.
|
#
af9e4c5d |
| 19-Jul-2009 |
nicm <nicm@openbsd.org> |
Improved layout code.
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 lef
Improved layout code.
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.
show more ...
|
#
98c9454e |
| 14-Jul-2009 |
nicm <nicm@openbsd.org> |
Get rid of the PANE_HIDDEN flag in favour of a function, and moving the decision for whether or not a pane should be drawn out of the layout code and into the redraw code.
This is needed for the new
Get rid of the PANE_HIDDEN flag in favour of a function, and moving the decision for whether or not a pane should be drawn out of the layout code and into the redraw code.
This is needed for the new layout design, getting it in now to make that easier to work on.
show more ...
|
#
0b2ec5a7 |
| 13-Jul-2009 |
nicm <nicm@openbsd.org> |
Having fixed flags for single-character getopt options is a bit hard to 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
Having fixed flags for single-character getopt options is a bit hard to 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.
show more ...
|
#
76dc8662 |
| 25-Jun-2009 |
nicm <nicm@openbsd.org> |
Use the pane flags not the window flags. Doh.
|
#
1457867c |
| 05-Jun-2009 |
ray <ray@openbsd.org> |
Remove trailing newlines, spaces, and tabs.
No binary change.
|
#
90387070 |
| 03-Jun-2009 |
nicm <nicm@openbsd.org> |
When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux crashes when trying to find the new active pane.
While here, nuke an unused pane flag.
Fixes PR 6160, reported by and
When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmux crashes when trying to find the new active pane.
While here, nuke an unused pane flag.
Fixes PR 6160, reported by and a slightly different version of diff tested by ralf.horstmann at gmx.de.
show more ...
|
#
311827fb |
| 01-Jun-2009 |
nicm <nicm@openbsd.org> |
Import tmux, a terminal multiplexor allowing (among other things) a single terminal to be switched between several different windows and programs displayed on one terminal be detached from one termin
Import tmux, a terminal multiplexor allowing (among other things) a single 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
show more ...
|