History log of /openbsd-src/usr.bin/tmux/layout.c (Results 1 – 25 of 52)
Revision Date Author Comments
# 5df986e2 17-Dec-2024 nicm <nicm@openbsd.org>

Assign excess space more evenly when spreading out cells, from Torbjorn
Lonnemark.


# dd0df669 15-Nov-2024 nicm <nicm@openbsd.org>

Add two new style parameters, width and pad, which apply to scrollbars.
From Michael Grant, GitHub issue 4241.


# 8b458060 15-Nov-2024 nicm <nicm@openbsd.org>

Turn off scrollbar when pane is in alternate screen, from Michael Grant,
GitHub issue 4231.


# d2117533 05-Nov-2024 nicm <nicm@openbsd.org>

Add support for a scrollbar at the side of each pane. New options
pane-scrollbars turn them on or off, pane-scrollbars-position sets the
position (left or right), and pane-scrollbars-style to set the

Add support for a scrollbar at the side of each pane. New options
pane-scrollbars turn them on or off, pane-scrollbars-position sets the
position (left or right), and pane-scrollbars-style to set the colours.
Mouse support will come later. From Michael Grant in GitHub issue 4221.

show more ...


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

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


# 9bc2f29e 15-Jul-2019 nicm <nicm@openbsd.org>

Simplify code to work out if an extra line is needed in the cell.


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

Make layout_fix_offsets take a window like layout_fix_panes.


# 5f9583ae 26-Jun-2019 nicm <nicm@openbsd.org>

Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP.


# c1cd4700 26-Jun-2019 nicm <nicm@openbsd.org>

Add #define for the pane status line option position numbers.


# 9a0e05b8 23-Apr-2019 nicm <nicm@openbsd.org>

Do not try to resize if the parent cell is NULL, problem reported by
Sunil Nimmagadda.


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

Fix minimum size check on split and size of first cell on spread out
with a pane status line.


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

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


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

Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.


# 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 ...


# 781ff0fd 24-Sep-2018 nicm <nicm@openbsd.org>

Only include pane status in minimum size if it is turned on, GitHub
issue 1480.


# 3d1607c5 08-Jun-2018 nicm <nicm@openbsd.org>

Instead of working out which pane to resize with the mouse by walking
the panes list, look through the layout cells for the nearest border and
resize that cell. From Dan Aloni in GitHub issue 1374.


# b94bacf5 23-Mar-2018 nicm <nicm@openbsd.org>

Fix size calculation when spreading out panes.


# 68eb3405 12-Jan-2018 nicm <nicm@openbsd.org>

Improve logging for layout cells.


# 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.


# f9ebce2c 11-Mar-2017 nicm <nicm@openbsd.org>

Fix calculation of size for full size splits.


# 2ae124fe 16-Oct-2016 nicm <nicm@openbsd.org>

Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.


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

Do not allow the opposite pane to resize when dragging with the mouse
because it is not possible to keep the mouse on the border when the
minimum size is reached.


# 824e896b 04-Sep-2016 nicm <nicm@openbsd.org>

Add support for performing a full width split (with splitw -f), rather
than splitting the current cell. From Stephen Kent.


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

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


123