History log of /openbsd-src/usr.bin/tmux/session.c (Results 1 – 25 of 98)
Revision Date Author Comments
# 83bde373 25-Nov-2024 nicm <nicm@openbsd.org>

Do not rely on window reference count for linked formats because they
are also used for notifications, GitHub issue 4258.


# 482624f4 01-Oct-2024 nicm <nicm@openbsd.org>

Change pasting to bypass the output key processing entirely and write
what was originally received. Fixes problems with pasted text being
interpreted as extended keys reported by Mark Kelly.


# 8f273eba 02-Sep-2023 nicm <nicm@openbsd.org>

Set visited flag on last windows when linking session.


# 6a041561 01-Sep-2023 nicm <nicm@openbsd.org>

Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.


# bdc25a05 19-Jul-2023 nicm <nicm@openbsd.org>

Correct visited flag when the last window list is rebuilt by renumbering
windows, appears to fix hang reported by Mark Kelly.


# 65b39cd1 17-Oct-2022 nicm <nicm@openbsd.org>

Preserve marked pane when renumbering windows.


# 728c8ef2 22-Feb-2022 nicm <nicm@openbsd.org>

Do not attempt to update focus (and crash) when there is no previous window.


# a8c3b024 22-Feb-2022 nicm <nicm@openbsd.org>

Add next_session_id format with the next session ID, GitHub issue 3078.


# b2f27a60 17-Sep-2021 nicm <nicm@openbsd.org>

Do not destroy sessions twice, GitHub issue 2889.


# 1a773291 13-Aug-2021 nicm <nicm@openbsd.org>

Change focus to be driven by events rather than walking all panes at end
of event loop, this way the ordering of in and out can be enforced.
GitHub issue 2808.


# 998b9ee1 06-Jul-2021 nicm <nicm@openbsd.org>

Forbid empty session names, GitHub issue 2758.


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

Instead of forbidding invalid session names, sanitize them like window
names.


# e0f10a33 26-Dec-2019 nicm <nicm@openbsd.org>

Add a number of new formats to inspect what sessions and clients a
window is present or active in. From Tyler Culp in GitHub issue 2034.


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


# b2140406 16-Mar-2019 nicm <nicm@openbsd.org>

Tidy and rename some bits of status line code.


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


# 647c5c18 18-Aug-2018 nicm <nicm@openbsd.org>

SESSION_UNATTACHED flag is no longer necessary now we have an attached
count instead.


# 5a3b3eba 02-Aug-2018 nicm <nicm@openbsd.org>

session_groups can be static also.


# 2fe539a5 04-May-2018 nicm <nicm@openbsd.org>

Improve logging of sessions.


# 988c4c87 02-Nov-2017 nicm <nicm@openbsd.org>

Only show the first member of session groups in tree mode (-G flag
disables).


# bc4816c6 09-Jul-2017 nicm <nicm@openbsd.org>

Some extra logging to show why tmux might exit.


# 3c14ce20 04-May-2017 nicm <nicm@openbsd.org>

Some new notifications, mainly for active pane and current window and
session:

pane-mode-changed
window-pane-changed
client-session-changed
session-window-changed

From Joshua Brot.


# 54279ec3 28-Apr-2017 nicm <nicm@openbsd.org>

Log what is happening with window and session reference counts much more
obviously.


# ff7b5ef0 25-Apr-2017 nicm <nicm@openbsd.org>

Do not update TERM into config file parsing has finished.


1234