nicm
8cb4aabb8b
Replace refresh-from-pane in copy mode with a way to automatically
...
update as pane content changes. This is toggled by pressing r. GitHub
issue 5165 from Barrett Ruth.
2026-06-10 14:29:08 +00:00
nicm
c6c8f77bc0
While grouped sessions are being killed, it can leave session which are
...
not really useful as targets (no active pane or current window) in the
tree. Make cmd_find_best_session skip these. GitHub issue 5167.
2026-06-10 14:06:45 +00:00
nicm
5c0db5a293
Preserve the original text in the first line for display-panes.
2026-06-09 21:31:16 +00:00
nicm
d533d7c97c
Add a context for cell/palette/hyperlinks when drawing to tty to avoid
...
passing so much in parameters.
2026-06-09 21:22:22 +00:00
nicm
34dd42dc7f
Use name as marker for failure not type (which must be set to be in the error).
2026-06-09 12:58:40 +00:00
nicm
b374868750
Add missing headers.
2026-06-09 12:57:40 +00:00
nicm
538688486e
Clarify -a for kill-window, kill-session.
2026-06-09 12:51:57 +00:00
nicm
4a3f380fd2
Add -f for filter with -a to kill-pane, kill-window, kill-session.
...
GitHub issue 4782.
2026-06-09 12:24:59 +00:00
nicm
a42e425d44
Two fixes for RI codepoints. Firstly, do not combine more than two of
...
them - previously we were ending up with four codepoints in one cell
which tmux believed to be width 2, but terminals considered width 4.
Secondly, invalidate cursor position before redrawing the cell when the
second codepoint is received, terminals vary in how they manage
backspace and cursor movement across these characters, so it is better
to use absolute rather than relative positioning. GitHub issue 4853.
2026-06-09 11:49:36 +00:00
nicm
d5c9196348
Add -B to new-pane/split-window to block until the command exits, like
...
run-shell -b.
2026-06-09 09:11:05 +00:00
nicm
27c58c764d
Do not use NULL arguments, bug spotted by Dane Jensen.
2026-06-09 08:11:53 +00:00
nicm
fd10db5a62
Fix mouse events on tiled pane status line - when panes share a border,
...
prefer the pane for which the border is the status line. With Dane
Jensen.
2026-06-08 23:06:21 +00:00
nicm
a6a06c5aa6
Fix squash-groups skipping every session, GitHub issue 5180 from Bryce
...
Miller.
2026-06-08 21:46:19 +00:00
nicm
4d1ab1ba2a
Allow ACLs to use groups as well as users, GitHub issue 4917.
2026-06-08 21:38:19 +00:00
nicm
bf2e078ecf
Add a relative time option for time formatting, GitHub issue 5009.
2026-06-08 21:19:52 +00:00
nicm
a0f4038df2
Add a -h flag to choose-tree and choose-client to hide the pane
...
containing the mode, intended for use with floating panes. From Michael
Grant, GitHub issue 5177.
2026-06-08 21:01:33 +00:00
nicm
df7c2e605b
Add -T to new-pane to set the title; GitHub issue 5176 from Michael Grant.
2026-06-08 20:44:57 +00:00
nicm
ea51cdb3f2
Add display-panes-format to change the top-of-pane text shown with
...
display-panes.
2026-06-08 20:42:39 +00:00
nicm
fe986a52d6
When entering or leaving the alternate screen, discard any pending
...
resizes. Improves flicking with scrollbars and programs that leave and
enter the alternate screen on every WINCH like nano. GitHub issue 4772.
Cvs: ----------------------------------------------------------------------
2026-06-08 20:41:21 +00:00
nicm
34fd261a4f
Add a -k flag to choose commands to kill the pane when the mode is
...
exited (useful with floating panes).
2026-06-08 20:38:54 +00:00
nicm
85d72b9952
Return immediately if the list is empty in mode_tree_key instead of
...
crashing, from Bryce Miller in GitHub issue 5170.
2026-06-08 15:16:21 +00:00
nicm
529afada82
Move checking of whether the cursor is visible inside the if so that it
...
always hits the calculation of the oy offset when the status line is at
the top. From Michael Grant.
2026-06-07 20:05:16 +00:00
nicm
a532f4868f
Add -H flag to capture-pane to show hyperlinks.
2026-06-07 20:03:02 +00:00
nicm
ae5e0e8c05
Add -L to show line numbers with capture-pane and -F to show line flags.
2026-06-07 16:23:05 +00:00
nicm
42f3e7f7ce
Clear entire lines when removing from history or freeing.
2026-06-07 14:41:27 +00:00
nicm
3acd247f5d
Redraw entire session when making a new pane.
2026-06-07 14:11:20 +00:00
nicm
343ee5ece1
Add -g flag to kill-session to kill all sessions in a group, GitHub
...
issue 5157 from github at jiku dot jp.
2026-06-07 13:51:42 +00:00
nicm
0256ee77c2
Add some additional environment variables needed for Wayland, from
...
shbernal dot 01 at gmail dot com.
2026-06-07 13:37:39 +00:00
nicm
ef8e9df02f
Tweak previous.
2026-06-07 13:29:16 +00:00
nicm
306ee0eddb
Add -E to split-window to explicitly make an empty pane rather than
...
requiring an empty command.
2026-06-07 13:15:28 +00:00
nicm
5744021ac9
Allow floating panes to be created partially off the window, based on a
...
change from Michael Grant.
2026-06-07 09:54:25 +00:00
nicm
c9e22ab67b
Enable floating panes. These are panes which sit above the layout
...
("tiled panes") like popups but unlike popups are not modal and behave
like panes (so the same escape sequence support). Floating panes are
created with the "new-pane" command, bound to * by default.
Currently floating panes can only be moved and resized using the mouse.
The default second status line (if "status-format" is set to 2) has
changed to show a list of panes.
This is the first step and many obvious features are not yet complete
(notably the ability to swap floating panes, resize them using
resize-pane, change them between floating and tiles, and restore custom
layouts with floating panes).
Mostly written by Michael Grant with help from Dane Jensen.
2026-06-07 08:25:59 +00:00
nicm
4063f968c6
Do not allow swapping floating panes for the moment.
2026-06-07 08:22:58 +00:00
nicm
3a72f3beb8
Use correct X position for visible range checks in
...
screen_write_fast_copy, GitHub issue 5164 from Barrett Ruth.
2026-06-06 17:35:30 +00:00
nicm
35709a30ee
Change so that floating panes are always part of the root layout. From
...
Dane Jensen.
2026-06-06 17:30:48 +00:00
nicm
d7a2b52da8
Add a way to quote for command arguments and use for key in list-keys,
...
GitHub issue 5153.
2026-06-05 08:04:03 +00:00
nicm
6beebbe074
Fix scrollbar drag position when window is taller than tty, from Michael
...
Grant.
2026-06-04 09:24:03 +00:00
nicm
580f9ced08
Change run-shell expansion to just be #{1} etc not #1 which interferes
...
with colours.
2026-06-03 20:18:49 +00:00
nicm
642cc15b99
Change so panes scroll when the cursor is at the top instead of halfway
...
down, from Michael Grant.
2026-06-03 20:16:14 +00:00
nicm
390207cdf1
Use new layout functions for join-pane also, from Dane Jensen.
2026-06-02 19:31:36 +00:00
nicm
a3bf632276
Move cell creation into layout.c, from Dane Jensen.
2026-06-02 19:25:06 +00:00
nicm
ae6a749d3a
Move the PANE_FLOATING flag into the layout cell and add an accessor.
...
From Dane Jensen.
2026-06-02 08:13:50 +00:00
nicm
35f4c8b333
Fix border colour bug in the floating panes branch where inactive
...
floating pane borders incorrectly use the active colour at intersections
with tiled pane borders. From Michael Grant.
2026-06-02 07:11:49 +00:00
nicm
9725a0b9bf
Remove the actual LAYOUT_FLOATING enum member.
2026-06-01 20:10:01 +00:00
nicm
b368e89bea
Remove LAYOUT_FLOATING and disable custom layouts with floating panes
...
for now, from Dane Jensen.
2026-06-01 20:09:26 +00:00
nicm
3269833caa
Fix vertical position of scrollbar having wrong vertical offset when
...
status-position top, from Michael Grant.
2026-06-01 20:00:25 +00:00
nicm
922f7d1645
Fix resize of floating panes with pane-border-status top, from Michael
...
Grant.
2026-06-01 19:59:04 +00:00
nicm
a1873fef61
Only set saved_layout_cell if creating a new cell, avoids crash when
...
respawning pane. Reported by Mingjie Shen in GitHubb issue 5143.
2026-06-01 19:56:26 +00:00
nicm
f6557d1ea2
Add a Z sort order in tree mode.
2026-06-01 18:19:51 +00:00
nicm
cd6c01e42b
Mark floating panes in tree mode.
2026-06-01 18:00:20 +00:00