Up to [local] / src / usr.bin / tmux
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 11 06:31:05 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
HEAD
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored) to selected 1.18 (colored)
Add split-window -Z to start the pane zoomed, GitHub issue 2591.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 22 06:57:13 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.28: +34 -11 lines
Diff to previous 1.28 (colored) to selected 1.18 (colored)
Change so main-pane-width and height can be given as a percentage.
Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 28 09:45:15 2019 UTC (4 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored) to selected 1.18 (colored)
Make a best effort to set xpixel and ypixel for each pane and add formats for them.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 15 18:25:07 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored) to selected 1.18 (colored)
Make layout_fix_offsets take a window like layout_fix_panes.
Revision 1.26 / (download) - annotate - [select for diffs], Tue May 14 07:37:50 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.25: +25 -19 lines
Diff to previous 1.25 (colored) to selected 1.18 (colored)
Fix sizing of main-vertical and main-horizontal layouts, GitHub issue 1736.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 26 10:15:40 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.24: +38 -26 lines
Diff to previous 1.24 (colored) to selected 1.18 (colored)
Unbreak main-vertical and main-horizontal layouts.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 17 14:44:14 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.23: +77 -171 lines
Diff to previous 1.23 (colored) to selected 1.18 (colored)
Rewrite main-vertical and horizontal to use the common spread out code and to handle the case where the panes won't fit into the existing window size.
Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 17 14:43:49 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.22: +26 -5 lines
Diff to previous 1.22 (colored) to selected 1.18 (colored)
Set the window size as well as the layout size when using the preset layouts.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 4 10:25:35 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored) to selected 1.18 (colored)
Fix size check for splitw -f and top level pane size for tiled layout, problems reported by Thomas Sattler.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 18 08:38:01 2018 UTC (5 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored) to selected 1.18 (colored)
Support for windows larger than visible on the attached client. This has been a limitation for a long time. There are two new options, window-size and default-size, and a new command, resize-window. The force-width and force-height options and the session_width and session_height formats have been removed. The new window-size option tells tmux how to work out the size of windows: largest means it picks the size of the largest session, smallest the smallest session (similar to the old behaviour) and manual means that it does not automatically resize windows. The default is currently largest but this may change. aggressive-resize modifies the choice of session for largest and smallest as it did before. If a window is in a session attached to a client that is too small, only part of the window is shown. tmux attempts to keep the cursor visible, so the part of the window displayed is changed as the cursor moves (with a small delay, to try and avoid excess redrawing when applications redraw status lines or similar that are not currently visible). The offset of the visible portion of the window is shown in status-right. Drawing windows which are larger than the client is not as efficient as those which fit, particularly when the cursor moves, so it is recommended to avoid using this on slow machines or networks (set window-size to smallest or manual). The resize-window command can be used to resize a window manually. If it is used, the window-size option is automatically set to manual for the window (undo this with "setw -u window-size"). resize-window works in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the window to the size of the smallest client (what it would be if window-size was smallest) and -A the largest. For the same behaviour as force-width or force-height, use resize-window -x or -y, and "setw -u window-size" to revert to automatic sizing.. If the global window-size option is set to manual, the default-size option is used for new windows. If -x or -y is used with new-session, that sets the default-size option for the new session. The maximum size of a window is 10000x10000. But expect applications to complain and much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders. The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 31 20:00:44 2017 UTC (6 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) to selected 1.18 (colored)
Initialize the size of new panes created by the even-* layout correctly; reported by Andreas Kahari and Anton Lindqvist.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 15 19:59:27 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.18: +13 -71 lines
Diff to previous 1.18 (colored)
Add a common function for spreading out cells and use it for the two even layouts and to add a -E flag to select-layout to spread out cells evenly without changing parent cells.
Revision 1.18 / (download) - annotate - [selected], Mon May 15 14:57:29 2017 UTC (7 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)
Notify layout changed when choosing predefined layouts, from Joshua Brot.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 11 13:45:47 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.18 (colored)
Some other stuff that can be local to one file.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 10 21:29:23 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.15: +10 -10 lines
Diff to previous 1.15 (colored) to selected 1.18 (colored)
Loads more static, except for cmd-*.c and window-*.c.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Aug 3 09:07:02 2016 UTC (7 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.14: +17 -9 lines
Diff to previous 1.14 (colored) to selected 1.18 (colored)
Fix minimum size when pane status line is enabled, reported by Y Petremann.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.18 (colored)
I no longer use my SourceForge address so replace it.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 27 15:58:42 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored) to selected 1.18 (colored)
Move struct options into options.c.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 29 23:55:55 2015 UTC (8 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.11: +1 -7 lines
Diff to previous 1.11 (colored) to selected 1.18 (colored)
Remove some old prototypes and unused functions.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 17 14:45:49 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.18 (colored)
Some more long lines.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 9 12:02:07 2011 UTC (12 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.18 (colored)
Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 7 23:55:16 2011 UTC (13 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.18 (colored)
Prevent tiled producing a corrupt layout when only one column is needed, from Karl Ferdinand Ebert.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 19 18:35:08 2010 UTC (13 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.7: +25 -5 lines
Diff to previous 1.7 (colored) to selected 1.18 (colored)
Add other-pane-height and other-pane-width options, allowing the width or height of the smaller panes in the main-horizontal and main-vertical layouts to be set. Mostly from David Goodlad.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 8 19:57:03 2010 UTC (13 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.6: +43 -44 lines
Diff to previous 1.6 (colored) to selected 1.18 (colored)
In the built-in layouts, distribute the panes more evenly. Set the default value of main-pane-width to 80, rather than 81. By Micah Cowan.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 25 20:28:13 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.5: +102 -1 lines
Diff to previous 1.5 (colored) to selected 1.18 (colored)
Add a tiled layout, originally from Liam Bedford a while ago, fixed up by me.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 3 22:24:34 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored) to selected 1.18 (colored)
Fix divide by zero on small windows with main-* layouts.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 3 22:50:10 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.3: +11 -11 lines
Diff to previous 1.3 (colored) to selected 1.18 (colored)
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 28 06:48:44 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.2: +24 -13 lines
Diff to previous 1.2 (colored) to selected 1.18 (colored)
If select-layout is not given an argument, repply the last layout used in the window, if any.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 20 07:31:10 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.1: +5 -7 lines
Diff to previous 1.1 (colored) to selected 1.18 (colored)
Kill some dead stores and fix a null pointer deref, found by clang.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 19 13:21:40 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Diff to selected 1.18 (colored)
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.