History log of /openbsd-src/usr.bin/tmux/cmd-split-window.c (Results 1 – 25 of 115)
Revision Date Author Comments
# b0ba1202 27-Jan-2025 nicm <nicm@openbsd.org>

Add some missing spaces, from Ilya Grigoriev.


# e9310faa 06-Mar-2024 nicm <nicm@openbsd.org>

Check for the right flag to fix split-window -p, from Bryan Childs.


# 113211ea 07-Jun-2022 nicm <nicm@openbsd.org>

Expand arguments to some commands where it makes sense, GitHub issue
3204 from Anindya Mukherjee.


# 79fb7095 08-Mar-2022 nicm <nicm@openbsd.org>

With -f use percentages of window size not pane size, GitHub issue 2866.


# d110efb0 07-Oct-2021 nicm <nicm@openbsd.org>

Handle splitw -I correctly when used from an attached client, GitHub
issue 2917.


# d8b32369 27-Aug-2021 nicm <nicm@openbsd.org>

Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub iss

Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.

show more ...


# 825f884a 21-Aug-2021 nicm <nicm@openbsd.org>

Rename a member to match what it will be in future.


# a51dead1 21-Aug-2021 nicm <nicm@openbsd.org>

Add args parsing callback for some future work, currently unused.


# 1693b10b 20-Aug-2021 nicm <nicm@openbsd.org>

Hide struct args behind a couple of accessor functions.


# 05b80794 20-Aug-2021 nicm <nicm@openbsd.org>

Expose args_value struct (will be needed soon) and add some missing frees.


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

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


# 249e1654 16-May-2020 nicm <nicm@openbsd.org>

Add a client flag 'active-pane' which stores the active pane in the
client and allows it to be changed independently from the real active
pane stored in the window. This is can be used with session g

Add a client flag 'active-pane' which stores the active pane in the
client and allows it to be changed independently from the real active
pane stored in the window. This is can be used with session groups which
allow an independent current window (although it would be nice to have a
flag for this too and remove session groups). The client active pane is
only really useful interactively, many things (hooks, window-style,
zooming) still use the window active pane.

show more ...


# 035dc73d 13-Apr-2020 nicm <nicm@openbsd.org>

Make client -c and -t handling common in cmd-queue.c and try to be
clearer about whether the client is the target client (must have a
session) or not.


# 823b6d6d 13-Apr-2020 nicm <nicm@openbsd.org>

Move cmdq_state into cmd-queue.c.


# 054f42ac 13-Apr-2020 nicm <nicm@openbsd.org>

Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.


# 040343ae 13-Apr-2020 nicm <nicm@openbsd.org>

Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its
use more clearly defined and preparation for some future work).


# 90d7ba38 13-Apr-2020 nicm <nicm@openbsd.org>

Make struct cmd local to cmd.c and move it out of tmux.h.


# d6f6a5d2 31-Mar-2020 nicm <nicm@openbsd.org>

Add a way to mark environment variables as "hidden" so they can be used
by tmux but are not passed into the environment of new panes.


# 70f50c0a 16-Mar-2020 nicm <nicm@openbsd.org>

Do not attempt to close a NULL pane when failing to create a new one.


# 28988ef6 15-Oct-2019 nicm <nicm@openbsd.org>

Add support for percentage sizes for resize-pane ("-x 10%"). Also change
split-window and join-pane -l to accept similar percentages and
deprecate -p. From Anindya Mukherjee.


# aab3c1a6 03-May-2019 nicm <nicm@openbsd.org>

Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.


# d0772b58 28-Apr-2019 nicm <nicm@openbsd.org>

Support multiple occurances of the same argument. Use this for a new
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. Fr

Support multiple occurances of the same argument. Use this for a new
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.

show more ...


# 844b9093 26-Apr-2019 nicm <nicm@openbsd.org>

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
sh

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).

show more ...


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


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


12345