History log of /openbsd-src/usr.bin/tmux/layout-set.c (Results 1 – 25 of 32)
Revision Date Author Comments
# cd409aae 23-Aug-2024 nicm <nicm@openbsd.org>

Check for exact match for layout name before looking for a prefix match.


# 14aabaa7 21-Aug-2024 nicm <nicm@openbsd.org>

Add mirrored versions of the main-horizontal and main-vertical layouts where
the main pane is bottom or right instead of top or left, from Sherwyn Sen.


# baddd6b2 11-Mar-2021 nicm <nicm@openbsd.org>

Add split-window -Z to start the pane zoomed, GitHub issue 2591.


# c6e6a0b3 22-Apr-2020 nicm <nicm@openbsd.org>

Change so main-pane-width and height can be given as a percentage.


# 4a8b0ea5 28-Nov-2019 nicm <nicm@openbsd.org>

Make a best effort to set xpixel and ypixel for each pane and add
formats for them.


# 42fbd26a 15-Jul-2019 nicm <nicm@openbsd.org>

Make layout_fix_offsets take a window like layout_fix_panes.


# 439fb663 14-May-2019 nicm <nicm@openbsd.org>

Fix sizing of main-vertical and main-horizontal layouts, GitHub issue 1736.


# 10d8425b 26-Apr-2019 nicm <nicm@openbsd.org>

Unbreak main-vertical and main-horizontal layouts.


# 06f48543 17-Apr-2019 nicm <nicm@openbsd.org>

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.


# d4ddf7e1 17-Apr-2019 nicm <nicm@openbsd.org>

Set the window size as well as the layout size when using the preset
layouts.


# eb84caa4 04-Apr-2019 nicm <nicm@openbsd.org>

Fix size check for splitw -f and top level pane size for tiled layout,
problems reported by Thomas Sattler.


# 7b470e93 18-Oct-2018 nicm <nicm@openbsd.org>

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.

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.

show more ...


# 8135e028 31-Dec-2017 nicm <nicm@openbsd.org>

Initialize the size of new panes created by the even-* layout correctly;
reported by Andreas Kahari and Anton Lindqvist.


# 967ee5b9 15-Nov-2017 nicm <nicm@openbsd.org>

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.


# 4d154873 15-May-2017 nicm <nicm@openbsd.org>

Notify layout changed when choosing predefined layouts, from Joshua Brot.


# c97fab4e 11-Oct-2016 nicm <nicm@openbsd.org>

Some other stuff that can be local to one file.


# 9883b791 10-Oct-2016 nicm <nicm@openbsd.org>

Loads more static, except for cmd-*.c and window-*.c.


# 07b91187 03-Aug-2016 nicm <nicm@openbsd.org>

Fix minimum size when pane status line is enabled, reported by Y Petremann.


# 98ca8272 19-Jan-2016 nicm <nicm@openbsd.org>

I no longer use my SourceForge address so replace it.


# d89252e5 27-Oct-2015 nicm <nicm@openbsd.org>

Move struct options into options.c.


# c8b2a0e3 29-Aug-2015 nicm <nicm@openbsd.org>

Remove some old prototypes and unused functions.


# bfcd10e2 17-Apr-2014 nicm <nicm@openbsd.org>

Some more long lines.


# 0e6d1ac9 09-Nov-2011 nicm <nicm@openbsd.org>

Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.


# e09b5663 07-Mar-2011 nicm <nicm@openbsd.org>

Prevent tiled producing a corrupt layout when only one column is needed,
from Karl Ferdinand Ebert.


# b8565899 19-Dec-2010 nicm <nicm@openbsd.org>

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.


12