Michael Grant
1abf9f7023
Add a test for Kitty keyboard protocol input parsing
...
Also note that kitty-keys-terminal.sh cannot run under the regress
Makefile, which uses env -i and so removes DISPLAY and HOME, and make the
Kitty test file modes match the rest of regress.
2026-09-17 06:16:11 +01:00
Michael Grant
cb80f01460
Cleanup.
2026-09-17 06:00:13 +01:00
Michael Grant
e2334c3205
Document Kitty query snapshot semantics
2026-09-15 06:14:43 +01:00
Michael Grant
9e88490a05
Simplify Kitty query completion flag
2026-09-15 06:11:25 +01:00
Michael Grant
10ea823da6
Make Kitty keyboard negotiation per client
2026-09-15 05:45:58 +01:00
Michael Grant
75cb580e36
Add Kitty keyboard protocol support
2026-09-14 14:14:28 +01:00
tmux update bot
e880cf63e0
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add rounded borders option for panes like popups.
2026-09-11 17:00:20 +00:00
nicm
325b40e8c4
Add rounded borders option for panes like popups.
2026-09-11 17:00:18 +00:00
tmux update bot
f95363aa83
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Rather than allowing floating panes to remain outside the window and invisible after resize, move them and resize them so they are fully inside the window. GitHub issue 5582 from Noam Stolero.
2026-09-11 12:58:31 +00:00
nicm
f8fc53b6f8
Rather than allowing floating panes to remain outside the window and
...
invisible after resize, move them and resize them so they are fully
inside the window. GitHub issue 5582 from Noam Stolero.
2026-09-11 12:58:29 +00:00
Nicholas Marriott
d215280b00
Add rounded border tests.
2026-09-11 11:17:35 +01:00
Nicholas Marriott
d859a0f410
Test for resizing floating panes, from Noam Stolero.
2026-09-11 09:16:55 +01:00
Nicholas Marriott
10d00cc7cb
Modal pane test changes.
2026-09-11 09:10:14 +01:00
Nicholas Marriott
14a01dd337
Note changes from Heon Jeong.
2026-09-11 09:05:06 +01:00
tmux update bot
a958883625
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add remain-on-exit failed-key and a -D flag to new-pane to have a modal pane wait for Escape/C-c. Both to allow better compatibility with popups.
2026-09-10 13:04:13 +00:00
nicm
d202aa7ac1
Add remain-on-exit failed-key and a -D flag to new-pane to have a modal
...
pane wait for Escape/C-c. Both to allow better compatibility with
popups.
2026-09-10 13:04:11 +00:00
Nicholas Marriott
d9a5e82678
Fix tests.
2026-09-10 12:00:01 +01:00
tmux update bot
13c10f672c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a nesting limit for v1 layouts, reported by M Khalilov, fix based on issue 5572 from Afonso Januário. Also tweak some language while here.
2026-09-09 19:23:09 +00:00
nicm
b7c5030004
Add a nesting limit for v1 layouts, reported by M Khalilov, fix based on
...
issue 5572 from Afonso Januário. Also tweak some language while here.
2026-09-09 19:23:07 +00:00
Nicholas Marriott
4839123510
Tweak changes.
2026-09-09 13:50:42 +01:00
Nicholas Marriott
9b3268a2a0
Bump version.
2026-09-09 13:28:07 +01:00
Nicholas Marriott
5aeacf1cae
Update CHANGES.
2026-09-09 13:06:56 +01:00
tmux update bot
7774731b95
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Draw bottom border with pane status line at the top.
Bound the memory used by buffered control mode command replies (to 64 MB), GitHub issue 5565 from kagari dot shusei at proton dot me.
Do not adjust prompt position on invalid Unicode, from Kaixuan Li.
2026-09-09 10:12:52 +00:00
nicm
0544f0b210
Draw bottom border with pane status line at the top.
2026-09-09 10:12:50 +00:00
nicm
a3129249d1
Bound the memory used by buffered control mode command replies (to 64
...
MB), GitHub issue 5565 from kagari dot shusei at proton dot me.
2026-09-09 10:12:50 +00:00
nicm
930c81b819
Do not adjust prompt position on invalid Unicode, from Kaixuan Li.
2026-09-09 10:12:50 +00:00
Nicholas Marriott
fc695b4e86
Test for v1 nesting limit, based on a changed from Afonso Januário.
2026-09-09 10:01:32 +01:00
Nicholas Marriott
36fb7ab084
Tests of border.
2026-09-09 09:32:14 +01:00
tmux update bot
90a7dd4654
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add new layout format which includes floating panes. The new format is now a JSON subset which is less fragile and easier to handle than the old custom format. The old (version 1) format is still supported for control mode clients for now - they must set the new-layouts flag to receive the new format. From Dane Jensen.
2026-09-09 08:27:51 +00:00
nicm
bf43fdc0c7
Add new layout format which includes floating panes. The new format is
...
now a JSON subset which is less fragile and easier to handle than the
old custom format. The old (version 1) format is still supported for
control mode clients for now - they must set the new-layouts flag to
receive the new format. From Dane Jensen.
2026-09-09 08:27:49 +00:00
Nicholas Marriott
077d6e53cd
Test for invalid prompt.
2026-09-09 08:53:51 +01:00
Nicholas Marriott
4e19f7a8dc
New layout format regress test, from Dane Jensen.
2026-09-09 08:04:23 +01:00
tmux update bot
7941f7b863
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
The client for the layout format is the client we are sending it to, not the target client.
2026-09-08 21:40:59 +00:00
nicm
c7102ebbe5
The client for the layout format is the client we are sending it to, not
...
the target client.
2026-09-08 21:40:57 +00:00
tmux update bot
1b87cb752e
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add new-layouts flag for control clients so they can default to old layouts for backwards compatibility.
2026-09-08 11:38:06 +00:00
nicm
d9692f7ecf
Add new-layouts flag for control clients so they can default to old
...
layouts for backwards compatibility.
2026-09-08 11:38:04 +00:00
Nicholas Marriott
98637576bd
Test for new-layouts flag.
2026-09-08 11:27:25 +01:00
Nicholas Marriott
d8bdb23108
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a function to find last pane index, from Dane Jensen.
Add a parser for a subset of JSON, will be used for new layout strings (and maybe some other stuff), from Dane Jensen.
Add capture-pane -I to show times.
2026-09-08 11:25:17 +01:00
nicm
2191c9b172
Add a function to find last pane index, from Dane Jensen.
2026-09-08 10:22:40 +00:00
nicm
01d1d6580a
Add a parser for a subset of JSON, will be used for new layout strings
...
(and maybe some other stuff), from Dane Jensen.
2026-09-08 10:22:40 +00:00
nicm
96f4c7b9fa
Add capture-pane -I to show times.
2026-09-08 10:22:40 +00:00
Nicholas Marriott
6a24d5437b
JSON test.
2026-09-08 09:36:26 +01:00
Nicholas Marriott
8396a63128
capture-pane -I test.
2026-09-08 08:32:05 +01:00
tmux update bot
d44bfda26d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Error on invalid relative targets, such as +foo or -0. GitHub issue 5576 from imcusg at gmail dot com.
Do not silently make a session monitor if the target is unknown, GitHub issue 5575 from zzchun12826 at gmail dot com.
2026-09-07 17:56:25 +00:00
nicm
00f3899aea
Error on invalid relative targets, such as +foo or -0. GitHub issue 5576
...
from imcusg at gmail dot com.
2026-09-07 17:56:23 +00:00
nicm
557967c36c
Do not silently make a session monitor if the target is unknown, GitHub
...
issue 5575 from zzchun12826 at gmail dot com.
2026-09-07 17:56:23 +00:00
Nicholas Marriott
73db0a54e5
Tests from GitHub issue 5576.
2026-09-07 13:05:38 +01:00
tmux update bot
578e07fcbc
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not attempt to write to control clients which have been destroyed, reported by Artur Penttinen in GitHub issue 5570.
2026-09-04 06:00:37 +00:00
nicm
93169e2e62
Do not attempt to write to control clients which have been destroyed,
...
reported by Artur Penttinen in GitHub issue 5570.
2026-09-04 06:00:36 +00:00
tmux update bot
db24c029be
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Extend neww -S to work with -t as well as -t, GitHub issue 5571 from Mazunki Hoksaas.
2026-09-03 23:28:11 +00:00
nicm
a6f9a206b7
Extend neww -S to work with -t as well as -t, GitHub issue 5571 from
...
Mazunki Hoksaas.
2026-09-03 23:28:09 +00:00
Nicholas Marriott
ce253864f8
Test for late run-shell on a client that has exited.
2026-09-03 22:39:09 +01:00
tmux update bot
79f1f43830
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Wait for pane exit status in all cases not just remain-on-exit since events need it.
2026-09-03 21:24:20 +00:00
nicm
7b666e62be
Wait for pane exit status in all cases not just remain-on-exit since
...
events need it.
2026-09-03 21:24:19 +00:00
Nicholas Marriott
5d5f66239a
Test for -S from Mazunki Hoksaas.
2026-09-03 22:04:34 +01:00
Nicholas Marriott
4b1586fa81
Test for exit status.
2026-09-03 20:12:44 +01:00
Nicholas Marriott
9fa390aee6
Fix error in test.
2026-09-02 12:32:29 +01:00
Nicholas Marriott
ad632726bd
Some more regress tests.
2026-09-02 11:16:47 +01:00
Nicholas Marriott
1dd1717462
Fix tests for macOS.
2026-09-02 08:43:21 +01:00
tmux update bot
73db721dab
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Create screen before zoom may need to use it.
2026-09-02 06:15:13 +00:00
nicm
6bb6c286a9
Create screen before zoom may need to use it.
2026-09-02 06:15:11 +00:00
tmux update bot
ca34d190b5
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not allow cursor on/off to escape synchronized updates.
2026-09-01 23:20:22 +00:00
nicm
57a13664cc
Do not allow cursor on/off to escape synchronized updates.
2026-09-01 23:20:20 +00:00
Nicholas Marriott
59dc0e75c4
Add a couple more tests.
2026-09-01 22:07:08 +01:00
Nicholas Marriott
2d6aed1d92
Add some more tests for recent stuff.
2026-09-01 21:55:50 +01:00
Nicholas Marriott
3dd575ce55
Update CHANGES.
2026-09-01 21:48:30 +01:00
Nicholas Marriott
60e871658f
Remove +x.
2026-09-01 20:52:44 +01:00
Nicholas Marriott
c49dfdf496
Regress test for cursor updates.
2026-09-01 20:51:20 +01:00
tmux update bot
9b0ad73a4b
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
When changing selection-mode to line, set up the selection start and end correctly, GitHub issue 5545.
Extend word commands to use any Unicode whitespace character, GitHub issue 5562 from Hongyi Zhao.
2026-09-01 14:55:38 +00:00
nicm
bd8218e85d
When changing selection-mode to line, set up the selection start and end
...
correctly, GitHub issue 5545.
2026-09-01 14:55:35 +00:00
nicm
8f3101d820
Extend word commands to use any Unicode whitespace character, GitHub
...
issue 5562 from Hongyi Zhao.
2026-09-01 14:55:35 +00:00
Nicholas Marriott
77309c07b0
Whitespace regress test from Hongyi Zhao.
2026-09-01 13:50:56 +01:00
tmux update bot
c8e889694d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a generation counter to pane output, from Michael K Darling.
Add format variables for history change counters, from Michael K Darling.
2026-09-01 00:07:34 +00:00
nicm
b402687fcd
Add a generation counter to pane output, from Michael K Darling.
2026-09-01 00:07:32 +00:00
nicm
0530a7d89a
Add format variables for history change counters, from Michael K Darling.
2026-09-01 00:07:32 +00:00
tmux update bot
6bdb9ba54c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
tmux: add utf8 terminal-features
2026-08-31 20:43:13 +00:00
kirill
f2bfd611e2
tmux: add utf8 terminal-features
...
OK: nicm@
2026-08-31 20:43:11 +00:00
Nicholas Marriott
9c1d5a080b
Use hash for actions, from Andreas Fehlner.
2026-08-31 20:52:54 +01:00
tmux update bot
b28244e2fe
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not leak temporary commands when expanding aliases, from Jeong, Heon.
Do not allow popups for control clients, from Noam Stolero.
Layout cell can be replaced by unzoom, fixes use after free. From Uzair Aftab.
Do not try to append zero size cells, from Uzair Aftab.
Clear stale marks when a search regex fails to compile, GitHub issue 5547 from Uzair Aftab.
2026-08-31 14:56:14 +00:00
nicm
8b3834c34f
Do not leak temporary commands when expanding aliases, from Jeong, Heon.
2026-08-31 14:56:12 +00:00
nicm
af3e4d2e5b
Do not allow popups for control clients, from Noam Stolero.
2026-08-31 14:56:12 +00:00
nicm
c552d1bf16
Layout cell can be replaced by unzoom, fixes use after free. From Uzair
...
Aftab.
2026-08-31 14:56:12 +00:00
nicm
6a1ecdcce3
Do not try to append zero size cells, from Uzair Aftab.
2026-08-31 14:56:12 +00:00
nicm
39357c829c
Clear stale marks when a search regex fails to compile, GitHub issue
...
5547 from Uzair Aftab.
2026-08-31 14:56:12 +00:00
tmux update bot
40381bdcd9
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not walk off end of grid lines if last line is wrapped, reported by Moe Khalilov.
Do no free input context if it is NULL when popup create fails.
2026-08-28 10:32:01 +00:00
nicm
7bad4f7722
Do not walk off end of grid lines if last line is wrapped, reported by
...
Moe Khalilov.
2026-08-28 10:32:00 +00:00
nicm
65e811570b
Do no free input context if it is NULL when popup create fails.
2026-08-28 10:32:00 +00:00
tmux update bot
dd31900f80
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Ignore focus events earlier to avoid them interfering with prefix, GitHub issue 5539.
2026-08-28 09:02:23 +00:00
nicm
013ada58c8
Ignore focus events earlier to avoid them interfering with prefix,
...
GitHub issue 5539.
2026-08-28 09:02:22 +00:00
Nicholas Marriott
78dad45f3b
Add timeout for lock and don't keep credentials for regress, from Andreas
...
Fehlner.
2026-08-28 09:07:16 +01:00
Nicholas Marriott
52b452948f
Check for buffer write error.
2026-08-28 08:56:12 +01:00
tmux update bot
267746603a
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix tiled pane resizing with floating layout cells, reported by Kevin Hovsäter.
2026-08-25 21:31:27 +00:00
nicm
b26b240613
Fix tiled pane resizing with floating layout cells, reported by Kevin
...
Hovsäter.
2026-08-25 21:31:25 +00:00
Nicholas Marriott
8e48c889dd
Add a resize test.
2026-08-25 19:36:06 +01:00
tmux update bot
f4445a310a
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a clear-on-attach option which when turned off scrolls away the existing terminal state instead of entering the alternate screen. This is useful in environments where tmux is started as a login shell but it is important that any pre-tmux messages are still visible. GitHub issue 5508 from Josef Řídký.
2026-08-25 11:30:47 +00:00
nicm
4157b64754
Add a clear-on-attach option which when turned off scrolls away the
...
existing terminal state instead of entering the alternate screen. This
is useful in environments where tmux is started as a login shell but it
is important that any pre-tmux messages are still visible. GitHub issue
5508 from Josef Řídký.
2026-08-25 11:30:45 +00:00
tmux update bot
0d2aafe7b7
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not pass NULL to qsort, and add checks for invalid session or window after swap.
2026-08-25 09:38:42 +00:00
nicm
6f4c9b32af
Do not pass NULL to qsort, and add checks for invalid session or window
...
after swap.
2026-08-25 09:38:40 +00:00
tmux update bot
eb77a75ab7
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not leak exit message on client free, from Jeong, Heon.
Tidy up args_make_commands reference counting to fix a memory leak, from Jeong, Heon.
2026-08-25 07:59:42 +00:00
nicm
0851650c6b
Do not leak exit message on client free, from Jeong, Heon.
2026-08-25 07:59:40 +00:00
nicm
1459c90a7f
Tidy up args_make_commands reference counting to fix a memory leak, from
...
Jeong, Heon.
2026-08-25 07:59:40 +00:00
tmux update bot
af29c080ba
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Correct a comparison ('\0' should be 0).
If a pane has no scrollbar, don't bother to redraw it, and if redraw is deferred change scrollbar redraws into redraw-all-scrollbars not redraw entire window. GitHub issue 5529.
2026-08-25 01:46:56 +00:00
nicm
50ea32162f
Correct a comparison ('\0' should be 0).
2026-08-25 01:46:55 +00:00
nicm
2d5328a860
If a pane has no scrollbar, don't bother to redraw it, and if redraw is
...
deferred change scrollbar redraws into redraw-all-scrollbars not redraw
entire window. GitHub issue 5529.
2026-08-25 01:46:55 +00:00
tmux update bot
e5db7598b2
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not add messages to cfg_causes after config has finished, GitHub issue 5528.
2026-08-24 22:03:29 +00:00
nicm
dc78d8f9ea
Do not add messages to cfg_causes after config has finished, GitHub
...
issue 5528.
2026-08-24 22:03:27 +00:00
tmux update bot
022b8451e3
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Always use synchronized updates in copy mode (like when not in the active pane), since copy mode will almost always moved the cursor. From Artem Goldenberg in GitHub issue 5525.
2026-08-24 16:44:37 +00:00
nicm
5b54c7d41a
Always use synchronized updates in copy mode (like when not in the
...
active pane), since copy mode will almost always moved the cursor. From
Artem Goldenberg in GitHub issue 5525.
2026-08-24 16:44:34 +00:00
tmux update bot
f94036b2b0
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Free any remaining items when destroying screen, from Jeong, Heon.
2026-08-24 15:57:10 +00:00
nicm
7d358208b9
Free any remaining items when destroying screen, from Jeong, Heon.
2026-08-24 15:57:09 +00:00
tmux update bot
c8ff8ea96f
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add {} to shell escape characters (special in bash/ksh/csh), GitHub issue 5514.
2026-08-24 15:02:17 +00:00
nicm
402d366bba
Add {} to shell escape characters (special in bash/ksh/csh), GitHub
...
issue 5514.
2026-08-24 15:02:15 +00:00
Nicholas Marriott
41e701ad84
Return early if image is zero height when generating fallback, otherwise we can
...
allocated too little space. Reported by Vivek Parikh.
2026-08-24 15:28:17 +01:00
tmux update bot
f763f94556
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not leak cached status line, from Jeong, Heon.
Free pane fallback range when freeing pane, from Jeong, Heon.
Do not leak path when destroying client, from Jeong, Heon.
Do not leak format when drawing preview, from Jeong, Heon.
Do not leak buffer name on failure, from Jeong, Heon.
2026-08-24 08:28:15 +00:00
nicm
c9f5ecb4b5
Do not leak cached status line, from Jeong, Heon.
2026-08-24 08:28:13 +00:00
nicm
7792a74c76
Free pane fallback range when freeing pane, from Jeong, Heon.
2026-08-24 08:28:13 +00:00
nicm
4cabc2ae85
Do not leak path when destroying client, from Jeong, Heon.
2026-08-24 08:28:13 +00:00
nicm
995b395795
Do not leak format when drawing preview, from Jeong, Heon.
2026-08-24 08:28:13 +00:00
nicm
3d44f75d09
Do not leak buffer name on failure, from Jeong, Heon.
2026-08-24 08:28:13 +00:00
tmux update bot
c1f947a3c5
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Use correct X position when combining characters, GitHub issue 5511 from Francesc Rosas.
2026-08-21 11:56:01 +00:00
nicm
696a16cca2
Use correct X position when combining characters, GitHub issue 5511 from
...
Francesc Rosas.
2026-08-21 11:55:59 +00:00
Nicholas Marriott
936bb6e7cd
Regress for GitHub issue 5511 from Francesc Rosas.
2026-08-21 10:54:29 +01:00
tmux update bot
8dfa903346
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a way for floating panes to stay above zoom (-A) flag. Use by default for modal panes to match popups.
2026-08-20 12:57:29 +00:00
nicm
95a7170709
Add a way for floating panes to stay above zoom (-A) flag. Use by
...
default for modal panes to match popups.
2026-08-20 12:57:26 +00:00
Nicholas Marriott
554c4bbde4
Tests for modal panes on top.
2026-08-20 10:19:19 +01:00
Nicholas Marriott
ac23f21a2c
More regress tests for zoom.
2026-08-20 09:18:58 +01:00
tmux update bot
6696151008
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Stop at the right end line when walking wrapped lines, GitHub issue 5479.
2026-08-19 21:05:08 +00:00
nicm
50d0348b64
Stop at the right end line when walking wrapped lines, GitHub issue 5479.
2026-08-19 21:05:06 +00:00
tmux update bot
bf7bbba7ea
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a -K flag to new-pane to make a modal pane capture all keys like popups used to.
2026-08-19 13:10:09 +00:00
nicm
b28b1b7b9a
Add a -K flag to new-pane to make a modal pane capture all keys like
...
popups used to.
2026-08-19 13:10:08 +00:00
Nicholas Marriott
8499d8007e
new-pane -K test bits.
2026-08-19 11:56:27 +01:00
tmux update bot
e5a2058c7c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Use DECRQM to detect mode 2026, from Michael Grant.
2026-08-18 12:03:17 +00:00
nicm
e94fcd96f9
Use DECRQM to detect mode 2026, from Michael Grant.
2026-08-18 12:03:15 +00:00
Nicholas Marriott
c5017e6da8
Bump time limit.
2026-08-18 11:49:34 +01:00
tmux update bot
0169f9e18c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Change correct depth counter for source-file when used from hooks, GitHub issue 5437.
2026-08-18 09:49:28 +00:00
nicm
b170c19274
Change correct depth counter for source-file when used from hooks,
...
GitHub issue 5437.
2026-08-18 09:49:26 +00:00
tmux update bot
22b3679752
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
When a pane is respawned, reset the control mode offsets. GitHub issue 5498 from Alex Rattray.
Correctly clear clients referring to a session with destroy-unattached, GitHub issue 5497 from Jeong, Heon.
Restore umask if bind fails, from nachalsa at naver dot com.
2026-08-18 09:04:02 +00:00
nicm
4714f478fe
When a pane is respawned, reset the control mode offsets. GitHub issue
...
5498 from Alex Rattray.
2026-08-18 09:04:00 +00:00
nicm
72c5037f06
Correctly clear clients referring to a session with destroy-unattached,
...
GitHub issue 5497 from Jeong, Heon.
2026-08-18 09:04:00 +00:00
nicm
6238793ad7
Restore umask if bind fails, from nachalsa at naver dot com.
2026-08-18 09:04:00 +00:00
Nicholas Marriott
da641e4e8d
Add test for GitHub issue 5498 from Alex Rattray.
2026-08-18 08:45:11 +01:00
Nicholas Marriott
19a085a672
Fix socket names for macOS.
2026-08-18 08:23:16 +01:00
tmux update bot
f672a0f677
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Log unknown message types.
2026-08-17 23:38:12 +00:00
nicm
db194ced5b
Log unknown message types.
2026-08-17 23:38:11 +00:00
tmux update bot
11ed661e2c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Flush output before ending sync. GitHub issue 5495 from xiangzhedev at gmail dot com.
2026-08-17 21:11:33 +00:00
nicm
b2de803871
Flush output before ending sync. GitHub issue 5495 from xiangzhedev at
...
gmail dot com.
2026-08-17 21:11:31 +00:00
Nicholas Marriott
30abbe36a8
Regress for sync, from xiangzhedev@gmail.com.
2026-08-17 21:04:26 +01:00
tmux update bot
62044f02df
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Allow features to be disabled using @ suffix in terminal-features, from Michael Grant.
2026-08-17 16:39:40 +00:00
nicm
a18d4e0067
Allow features to be disabled using @ suffix in terminal-features, from
...
Michael Grant.
2026-08-17 16:39:38 +00:00
Nicholas Marriott
0f241b7447
Update CHANGES.
2026-08-17 13:59:10 +01:00
tmux update bot
efaa1fe31c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
If writing a file fails, propagate the error to the server via a new message. Use a client flag rather than bumping the protocol version. GitHub issue 5451.
Add default terminal features for Rio, GitHub issue 5489 from Raphael Amorim.
2026-08-17 09:45:11 +00:00
nicm
1729bb8e8a
If writing a file fails, propagate the error to the server via a new
...
message. Use a client flag rather than bumping the protocol version.
GitHub issue 5451.
2026-08-17 09:45:10 +00:00
nicm
9fdd04ae61
Add default terminal features for Rio, GitHub issue 5489 from Raphael
...
Amorim.
2026-08-17 09:45:10 +00:00
tmux update bot
87a8bda023
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Remove flags from both keys for menus, GitHub issue 5484.
2026-08-17 08:54:28 +00:00
nicm
d384557b63
Remove flags from both keys for menus, GitHub issue 5484.
2026-08-17 08:54:26 +00:00
tmux update bot
534a4f81fc
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Attach window to session earlier so resize cannot cause customize mode to blow up. Reported by Marcel Partap.
Do not copy too many positions when deleting, GitHub issue 5478 from Uzair Aftab.
2026-08-17 07:58:26 +00:00
nicm
a0d3585c6c
Attach window to session earlier so resize cannot cause customize mode
...
to blow up. Reported by Marcel Partap.
2026-08-17 07:58:24 +00:00
nicm
ec34ff52cc
Do not copy too many positions when deleting, GitHub issue 5478 from
...
Uzair Aftab.
2026-08-17 07:58:24 +00:00
Nicholas Marriott
0ac8138ce3
Add a break-pane test for customize mode.
2026-08-17 08:06:31 +01:00
Nicholas Marriott
c41cad4c5f
Merge pull request #5481 from r1w1s1/fix-getpeereid-socklen
...
compat: use socklen_t for getsockopt length
2026-08-17 07:52:02 +01:00
r1w1s1
f466d6289e
compat: use socklen_t for getsockopt length
2026-08-10 15:38:55 -03:00
tmux update bot
851c5a933d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Only unzoom in the floating-split case, modal panes take care of themselves.
2026-08-07 09:33:41 +00:00
nicm
10048f6579
Only unzoom in the floating-split case, modal panes take care of themselves.
2026-08-07 09:33:39 +00:00
tmux update bot
a598b2a910
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Always unzoom before splitting window, for floating panes also. We already unzoomed for tiled panes and this does the same for floating panes (until we support having them float over a zoomed pane). From Éric NICOLAS.
2026-08-07 03:40:47 +00:00
nicm
2ec1038ffd
Always unzoom before splitting window, for floating panes also. We
...
already unzoomed for tiled panes and this does the same for floating
panes (until we support having them float over a zoomed pane). From Éric
NICOLAS.
2026-08-07 03:40:45 +00:00
Nicholas Marriott
cbb1da66c3
Merge pull request #5471 from mathstuf/actions-only-on-main-repo
...
ci: only run `lock` and `regress` workflows on the main repo
2026-08-06 15:44:32 +01:00
Ben Boeckel
35ab660042
ci: only run lock and regress workflows on the main repo
...
Forks are just wasting CI cycles spinning actions which are probably not
looked at. Also avoid locking issues and PRs on any forks with
upstream's policies.
2026-08-06 10:23:46 -04:00
tmux update bot
40a485db9c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add T key to change pane title, from Fouad Wahabi in GitHub issue 5461.
2026-08-06 11:42:00 +00:00
nicm
641e75e6e2
Add T key to change pane title, from Fouad Wahabi in GitHub issue 5461.
2026-08-06 11:41:58 +00:00
tmux update bot
2e394bef11
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a refresh-now command and change the r binding back to it in copy mode.
2026-08-05 15:40:06 +00:00
nicm
4a9dbac435
Add a refresh-now command and change the r binding back to it in copy mode.
2026-08-05 15:40:04 +00:00
tmux update bot
d60dbcf91c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Ignore Ms if it is invalid (for example no %p1) and report in client mode, GitHub issue 5460.
2026-08-05 11:31:10 +00:00
nicm
bd483a63cf
Ignore Ms if it is invalid (for example no %p1) and report in client
...
mode, GitHub issue 5460.
2026-08-05 11:31:08 +00:00
tmux update bot
d5dc0ba855
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Use ACS arrows for tree mode.
Do not crash when synchronizing groups and there is no current window. GitHub issue 5467 from Ju-an Zhang.
Add pane_private_modes format with list of DEC private modes, from George Nachman.
Do not log when logging is off, from Michael Grant.
2026-08-05 09:10:55 +00:00
nicm
e56a042153
Use ACS arrows for tree mode.
2026-08-05 09:10:54 +00:00
nicm
1995b5559d
Do not crash when synchronizing groups and there is no current window.
...
GitHub issue 5467 from Ju-an Zhang.
2026-08-05 09:10:54 +00:00
nicm
fe384e06bc
Add pane_private_modes format with list of DEC private modes, from
...
George Nachman.
2026-08-05 09:10:54 +00:00
nicm
0198ee9e51
Do not log when logging is off, from Michael Grant.
2026-08-05 09:10:54 +00:00
Nicholas Marriott
72e705cbd6
Tweak times for macOS.
2026-08-05 08:26:10 +01:00
tmux update bot
d5afb67a81
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Switch from imsg_get to imsgbuf_get and switch type of n to int.
2026-08-04 17:23:12 +00:00
claudio
3894397b07
Switch from imsg_get to imsgbuf_get and switch type of n to int.
...
OK tb@
2026-08-04 17:23:10 +00:00
tmux update bot
36381f0884
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not attempt to drain write buffer on stuck clients, since it requires a weird dance to make libevent do it. Instead, just ignore the client and destroy the buffer normally if not drained in 10 seconds.
2026-08-04 15:37:15 +00:00
nicm
5cd1976a4a
Do not attempt to drain write buffer on stuck clients, since it requires
...
a weird dance to make libevent do it. Instead, just ignore the client
and destroy the buffer normally if not drained in 10 seconds.
2026-08-04 15:37:14 +00:00
tmux update bot
c9ae3f6a02
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Check for floating only for flags that require a floating pane, reported by Ilya Grigoriev.
2026-08-03 23:50:33 +00:00
nicm
d2322d0114
Check for floating only for flags that require a floating pane, reported
...
by Ilya Grigoriev.
2026-08-03 23:50:32 +00:00
tmux update bot
7a431ec7b9
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not let a stuck client prevent the server from exiting - give up after 10 seconds. GitHub issue 5444 from Ben Maurer.
2026-08-03 21:33:23 +00:00
nicm
114aa68082
Do not let a stuck client prevent the server from exiting - give up
...
after 10 seconds. GitHub issue 5444 from Ben Maurer.
2026-08-03 21:33:21 +00:00
Nicholas Marriott
f07a76d959
Use move-pane for a test.
2026-08-03 21:30:44 +01:00
Nicholas Marriott
ca0d77855f
Client exit test from Ben Maurer.
2026-08-03 21:19:10 +01:00
Nicholas Marriott
cd3f577c85
Add test for control mode events and guards.
2026-08-03 20:27:10 +01:00
tmux update bot
9228f97d7d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Queue control mode notifications rather than emitting them inside %begin/%end, GitHub issue 5458 from George Nachman.
2026-08-03 16:29:11 +00:00
nicm
6db5175e4e
Queue control mode notifications rather than emitting them inside
...
%begin/%end, GitHub issue 5458 from George Nachman.
2026-08-03 16:29:09 +00:00
Nicholas Marriott
fba5ece05c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Store background colour in padding cells and correctly clear adjacent cells when tabs are overwritten, GitHu issue 5441 from Ayman Bagabas.
Exit failure on socket failure, from Rayan Salhab.
Pessimize compiler flags for screen-redraw.c to prevent tmux from dumping core upon startup on landisk.
2026-08-03 17:27:11 +01:00
nicm
01a775a46c
Store background colour in padding cells and correctly clear adjacent
...
cells when tabs are overwritten, GitHu issue 5441 from Ayman Bagabas.
2026-08-03 13:59:13 +00:00
nicm
4918360ea1
Exit failure on socket failure, from Rayan Salhab.
2026-08-03 13:59:13 +00:00
Nicholas Marriott
433a5cf580
Add regress test from Ayman Bagabas.
2026-08-03 13:59:27 +01:00
Nicholas Marriott
fc9270c943
Test for socket error from Rayan Salhab.
2026-08-03 11:09:04 +01:00
Nicholas Marriott
fa8c5789a6
Sleep after kill.
2026-08-03 09:53:50 +01:00
miod
cce56fa19b
Pessimize compiler flags for screen-redraw.c to prevent tmux from dumping core
...
upon startup on landisk.
2026-08-02 23:13:19 +00:00
tmux update bot
31dccb6bc9
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix unzoomed width when scrollbars are hidden.
2026-07-30 04:22:52 +00:00
nicm
8dfb7d0294
Fix unzoomed width when scrollbars are hidden.
2026-07-30 04:22:51 +00:00
Nicholas Marriott
265fb7b4ea
Test for vi keys and padding.
2026-07-29 21:18:38 +01:00
tmux update bot
fa38b36f1f
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Correctly skip padding at end of line, GitHub issue 5411.
2026-07-29 20:04:07 +00:00
nicm
44b8a40b8c
Correctly skip padding at end of line, GitHub issue 5411.
2026-07-29 20:04:06 +00:00
tmux update bot
5cd5df1d33
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a flag to turn off scrollbars for display-panes; GitHub issue 5440 from David Marte.
2026-07-29 17:41:02 +00:00
nicm
415d265728
Add a flag to turn off scrollbars for display-panes; GitHub issue 5440
...
from David Marte.
2026-07-29 17:41:01 +00:00
Nicholas Marriott
d6c37ce314
Note SIXEL at end of configure as well.
2026-07-29 11:11:05 +01:00
tmux update bot
c6d02d54d1
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix #1 -> #{1} in tmux1, from Rasmus Thystrup Karstensen.
2026-07-29 10:10:07 +00:00
nicm
6f41dac898
Fix #1 -> #{1} in tmux1, from Rasmus Thystrup Karstensen.
2026-07-29 10:10:06 +00:00
tmux update bot
5534f1ac32
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Store status position in new mouse event for menus so the position is correct later.
2026-07-28 15:09:08 +00:00
nicm
9f2c535909
Store status position in new mouse event for menus so the position is
...
correct later.
2026-07-28 15:09:07 +00:00
Nicholas Marriott
7cc0c11cde
Add test for mouse menu position.
2026-07-28 14:18:18 +01:00
tmux update bot
31fe1ded5d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Show hook count and time in customize mode.
2026-07-28 12:15:38 +00:00
nicm
6a13d61b48
Show hook count and time in customize mode.
2026-07-28 12:15:37 +00:00
Nicholas Marriott
9c402fa7b7
Test hook time in customize mode.
2026-07-28 11:36:03 +01:00
tmux update bot
a115ca68a5
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a warning about shell metacharacters, from Nikolas Skarlatos.
2026-07-28 10:09:27 +00:00
nicm
a5ad1914b8
Add a warning about shell metacharacters, from Nikolas Skarlatos.
2026-07-28 10:09:26 +00:00
Nicholas Marriott
3c1b2969a8
Tests for hooks time and count.
2026-07-28 08:08:26 +01:00
tmux update bot
e2a5ea2e78
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Store count of how many times a hook is fired and the last time.
2026-07-28 04:30:35 +00:00
nicm
27ab96b284
Store count of how many times a hook is fired and the last time.
2026-07-28 04:30:34 +00:00
tmux update bot
00b5323d5c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
When destroying pane, also close pipe and destroy its event. GitHub issue 5424.
2026-07-27 19:56:21 +00:00
nicm
f751d3f2c1
When destroying pane, also close pipe and destroy its event. GitHub
...
issue 5424.
2026-07-27 19:56:19 +00:00
Nicholas Marriott
9b97dadc01
Test for pipe-pane.
2026-07-27 15:26:43 +01:00
tmux update bot
8ca512b502
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add after-swap-window hook from basicalllymiloud at gmail dot com.
2026-07-27 14:00:20 +00:00
nicm
5269e14113
Add after-swap-window hook from basicalllymiloud at gmail dot com.
2026-07-27 14:00:18 +00:00
tmux update bot
ff214cf9a1
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Include \n and \t in shell special characters, from Nikolas Skarlatos.
2026-07-26 19:57:58 +00:00
nicm
d57d75deee
Include \n and \t in shell special characters, from Nikolas Skarlatos.
2026-07-26 19:57:57 +00:00
tmux update bot
008a3f3f8b
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not try to write to clients which have died, GitHub issue 5431 from Stefan Ladstätter.
2026-07-26 16:16:39 +00:00
nicm
4cc45aa719
Do not try to write to clients which have died, GitHub issue 5431 from
...
Stefan Ladstätter.
2026-07-26 16:16:37 +00:00
Nicholas Marriott
0255981a54
Test run-shell if killed.
2026-07-26 16:08:58 +01:00
tmux update bot
0a92ff6e76
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Also set ntitles to 0 when creating screen in the first place.
Reset title count when freeing titles, GitHub issue 5429 from Brett Smith.
Do not loop forever if the combining character is too long, GitHub issue 5434 from me at qdrs dot dev.
2026-07-26 10:55:47 +00:00
nicm
3068ae06a8
Also set ntitles to 0 when creating screen in the first place.
2026-07-26 10:55:45 +00:00
nicm
55169f1275
Reset title count when freeing titles, GitHub issue 5429 from Brett
...
Smith.
2026-07-26 10:55:45 +00:00
nicm
afb95f3134
Do not loop forever if the combining character is too long, GitHub issue
...
5434 from me at qdrs dot dev.
2026-07-26 10:55:45 +00:00
Nicholas Marriott
10726b1b27
Title stack test.
2026-07-26 10:21:01 +01:00
Nicholas Marriott
0768795ce3
Test for overlong runs of combining characters, GitHub issue 5434.
2026-07-26 10:02:31 +01:00
tmux update bot
29bf7fe2f7
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Replace outside as well as empty cells with the border.
2026-07-24 11:46:46 +00:00
nicm
47f210a9d2
Replace outside as well as empty cells with the border.
2026-07-24 11:46:45 +00:00
Nicholas Marriott
e361982acf
Fix some tests.
2026-07-24 09:49:32 +01:00
Nicholas Marriott
cc7eea1e34
Merge pull request #5423 from ilyagr/jemalloc-and-asan-mutually-exclusive
...
configure.ac: don't enable jemalloc if ASAN enabled on macOS, error if both enabled
2026-07-24 07:10:52 +01:00
Ilya Grigoriev
0ec289545a
configure.ac: don't enable jemalloc if ASAN enabled on macOS, error if both enabled
...
ASAN and jemalloc both replace `malloc` with their version.
Previously, configuring with `--enable-asan` on macOS would enable both
jemalloc and ASAN. I'm not sure which one won, but seemed undesired.
2026-07-23 17:43:23 -07:00
tmux update bot
190b5bde16
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Extend fill-character to allow inside and outside to be separate and use a different default (filled characters rather than dots) for inside.
2026-07-23 11:33:53 +00:00
nicm
8862390c34
Extend fill-character to allow inside and outside to be separate and use
...
a different default (filled characters rather than dots) for inside.
2026-07-23 11:33:52 +00:00
Nicholas Marriott
c59230316b
Update CHANGES.
2026-07-23 12:23:12 +01:00
Nicholas Marriott
a2f3bdb601
fill-character test bits.
2026-07-23 10:38:27 +01:00
Nicholas Marriott
689e6f8fac
Add jemalloc to regress dependencies.
2026-07-23 09:30:16 +01:00
Nicholas Marriott
6049298140
Show what we have found during configure.
2026-07-23 09:26:57 +01:00
Nicholas Marriott
a10ed3233c
Require jemalloc on macOS.
2026-07-23 09:26:42 +01:00
Nicholas Marriott
7568c19276
Log jemalloc version if in use.
2026-07-23 09:12:16 +01:00
Nicholas Marriott
fb88172346
Turn ASAN off again on macOS.
2026-07-23 08:59:49 +01:00
Nicholas Marriott
26bdd2b511
On macOS, look for utf8proc with no arguments and use it if provided. Only
...
require a flag if it is not available.
2026-07-23 08:59:04 +01:00
Nicholas Marriott
38feebb5d2
Show options tests.
2026-07-23 08:06:09 +01:00
tmux update bot
7428b0431a
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Switch show-options over to using a format and add -F.
Add a menu on empty areas to allow a new pane to be created.
2026-07-22 22:06:21 +00:00
nicm
7277712ca8
Switch show-options over to using a format and add -F.
2026-07-22 22:06:20 +00:00
nicm
2a5389416a
Add a menu on empty areas to allow a new pane to be created.
2026-07-22 22:06:20 +00:00
tmux update bot
597d04ed78
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Show user hooks correctly with show-hooks.
2026-07-22 20:06:33 +00:00
nicm
9625fe3b5f
Show user hooks correctly with show-hooks.
2026-07-22 20:06:31 +00:00
Nicholas Marriott
09a2ea190d
Update test.
2026-07-22 20:24:21 +01:00
Nicholas Marriott
18fc547b82
Update show hooks tests.
2026-07-22 19:58:55 +01:00
tmux update bot
242239b561
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add A modifier to cycle through a series of values, GitHub issue 5412 from Fernando Daciuk.
2026-07-22 15:11:40 +00:00
nicm
bd4ac02994
Add A modifier to cycle through a series of values, GitHub issue 5412
...
from Fernando Daciuk.
2026-07-22 15:11:38 +00:00
Nicholas Marriott
0868435e81
Add test for A: modifier, from Fernando Daciuk.
2026-07-22 14:17:22 +01:00
tmux update bot
7abb9af062
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Clip floating panes exactly at window edge, don't let the border creep into the first outside column.
Invalidate scene when window is resized.
Add a -C flag to new-pane to have a modal pane close when the mouse is clicked outside it, GitHub issue 5400.
2026-07-21 15:06:24 +00:00
nicm
a57b0f1282
Clip floating panes exactly at window edge, don't let the border creep
...
into the first outside column.
2026-07-21 15:06:22 +00:00
nicm
c59db2d007
Invalidate scene when window is resized.
2026-07-21 15:06:22 +00:00
nicm
8bf2a4e807
Add a -C flag to new-pane to have a modal pane close when the mouse is
...
clicked outside it, GitHub issue 5400.
2026-07-21 15:06:22 +00:00
Nicholas Marriott
2848a12562
Update tests for fix to floating panes at window edges.
2026-07-21 14:41:52 +01:00
tmux update bot
92f090c0c0
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
If drawing border but not actually on a border, use the default line style.
Add copy-mode-current-line-style to set style for current line in copy mode, GitHub issue 5391 from Leo Henon.
2026-07-21 12:55:45 +00:00
nicm
9d583cad5a
If drawing border but not actually on a border, use the default line
...
style.
2026-07-21 12:55:44 +00:00
nicm
abd2f3a9a5
Add copy-mode-current-line-style to set style for current line in copy
...
mode, GitHub issue 5391 from Leo Henon.
2026-07-21 12:55:44 +00:00
Nicholas Marriott
3e61e63851
Test for outside panes with no border.
2026-07-21 12:56:32 +01:00
tmux update bot
4d1cf62fb4
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Use correct cursor position for range end, GitHub issue 5414.
Increase escape-time for tmux's own queries (refresh-client -l and window size) as well, GitHub issue 5388 from Jackson Edmonds.
2026-07-21 09:17:33 +00:00
nicm
0e2576a842
Use correct cursor position for range end, GitHub issue 5414.
2026-07-21 09:17:32 +00:00
nicm
418ddada23
Increase escape-time for tmux's own queries (refresh-client -l and
...
window size) as well, GitHub issue 5388 from Jackson Edmonds.
2026-07-21 09:17:32 +00:00
Nicholas Marriott
8aaae25e56
Fix a merge and add test bits.
2026-07-21 08:00:39 +01:00
Thomas Adam
5ed5e3606e
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Change cellused/size to 16 bits and time to 32 bits in grid_line and add the OSC 133 positions (size stays the same).
2026-07-20 18:17:19 +01:00
nicm
d13b69ece4
Change cellused/size to 16 bits and time to 32 bits in grid_line and add
...
the OSC 133 positions (size stays the same).
2026-07-20 14:44:19 +00:00
tmux update bot
88a91b9f83
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Correctly include status line in pane height.
2026-07-20 11:14:58 +00:00
nicm
efcfc55535
Correctly include status line in pane height.
2026-07-20 11:14:56 +00:00
tmux update bot
afb3e954bf
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Remove bits to disable removing empty lines since actually we want to do that - zoom added them in the first place.
2026-07-19 22:36:41 +00:00
nicm
aea209b142
Remove bits to disable removing empty lines since actually we want to do
...
that - zoom added them in the first place.
2026-07-19 22:36:40 +00:00
tmux update bot
8dd0e2129e
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Copy the home directory if it comes from getpwuid.
2026-07-19 20:33:37 +00:00
nicm
8024fab1f2
Copy the home directory if it comes from getpwuid.
2026-07-19 20:33:36 +00:00
Nicholas Marriott
c750c014b2
Extend test.
2026-07-19 20:58:20 +01:00
tmux update bot
1b179582e6
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add unzoomed width and height formats and use them for the sizes shown in panes mode, reported by tb@.
2026-07-19 19:57:33 +00:00
nicm
c766669b3b
Add unzoomed width and height formats and use them for the sizes shown
...
in panes mode, reported by tb@.
2026-07-19 19:57:31 +00:00
tmux update bot
c45bf2e84d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Guard x as well as y to avoid overflow, GitHub issue 5409 from Park Seongjae.
2026-07-19 18:29:04 +00:00
nicm
6ef280fb0f
Guard x as well as y to avoid overflow, GitHub issue 5409 from Park
...
Seongjae.
2026-07-19 18:29:02 +00:00
Nicholas Marriott
2a2bce3dd4
Fix tty-keys.sh test.
2026-07-19 18:34:18 +01:00
tmux update bot
cad1c81c71
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Prevent display-panes from shifting the active pane scroll position by copying the screen from before zoom, also do not let resize consume blank lines.
2026-07-17 19:34:36 +00:00
nicm
496bfdce38
Prevent display-panes from shifting the active pane scroll position by
...
copying the screen from before zoom, also do not let resize consume
blank lines.
2026-07-17 19:34:34 +00:00
tmux update bot
bacc7952ad
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add some missing calls to invalidate scene.
2026-07-17 16:49:56 +00:00
nicm
377a810168
Add some missing calls to invalidate scene.
2026-07-17 16:49:55 +00:00
Nicholas Marriott
481d48b53b
3.8 changes.
2026-07-17 17:44:43 +01:00
tmux update bot
6dacc024f0
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Remove the active-pane flag for now, there are some gaps in how this works and I don't like it. May come back in a different form (maybe just for windows).
2026-07-17 14:08:10 +00:00
nicm
1ce000062a
Remove the active-pane flag for now, there are some gaps in how this
...
works and I don't like it. May come back in a different form (maybe just
for windows).
2026-07-17 14:08:08 +00:00
Thomas Adam
5bd10a8c2a
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Move per-client window sizes into control.c since the only user is for control mode.
Change %% to escape single quotes (%1 remains with no quoting and %% with double quotes) to avoid a single quote being able to terminate quoted sections of commands. Fixes unexpected behaviour with session names containing single quotes reported by Aliz Hammond.
2026-07-17 13:24:25 +01:00
nicm
2711780dff
Move per-client window sizes into control.c since the only user is for
...
control mode.
2026-07-17 12:15:52 +00:00
nicm
a177d0f590
Change %% to escape single quotes (%1 remains with no quoting and %%
...
with double quotes) to avoid a single quote being able to terminate
quoted sections of commands. Fixes unexpected behaviour with session
names containing single quotes reported by Aliz Hammond.
2026-07-17 12:15:52 +00:00
tmux update bot
a8ad3c7d43
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Clear cfg_client if the client is destroyed to prevent UAF found by Ilya Grigoriev.
2026-07-17 09:00:53 +00:00
nicm
d5b1f3ad89
Clear cfg_client if the client is destroyed to prevent UAF found by Ilya
...
Grigoriev.
2026-07-17 09:00:52 +00:00
Nicholas Marriott
b46684427f
Extend control client size test.
2026-07-17 09:37:50 +01:00
Nicholas Marriott
5cd43626ef
cmd_template_replace test.
2026-07-17 09:29:59 +01:00
Nicholas Marriott
43092f8d54
Test for client lost during config file.
2026-07-17 09:13:33 +01:00
tmux update bot
e50545f451
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix uninitialized var for sscanf %n.
2026-07-16 16:43:22 +00:00
nicm
1d0d22df22
Fix uninitialized var for sscanf %n.
2026-07-16 16:43:21 +00:00
tmux update bot
f07ea87e20
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not redraw overlays unless actually asked to, GitHub issue 5398 from Noam Stolero.
2026-07-16 12:54:46 +00:00
nicm
824a07290f
Do not redraw overlays unless actually asked to, GitHub issue 5398 from
...
Noam Stolero.
2026-07-16 12:54:45 +00:00
Nicholas Marriott
fba51526af
Modal pane regression test.
2026-07-16 13:16:29 +01:00
tmux update bot
15746a1bc7
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Small section missed from previous.
Add modal panes, created currently with new-pane -O. There is one modal pane per window and it must be a floating pane. These are intended to replace popups. Currently a modal pane will unzoom a zoomed window and rezoom it when it is closed (a bit like modes do), but this is planned to change when we get an always-on-top flag.
2026-07-15 15:53:06 +00:00
nicm
edefce8eb5
Small section missed from previous.
2026-07-15 15:53:04 +00:00
nicm
d98635e1bd
Add modal panes, created currently with new-pane -O. There is one modal
...
pane per window and it must be a floating pane. These are intended to
replace popups. Currently a modal pane will unzoom a zoomed window and
rezoom it when it is closed (a bit like modes do), but this is planned
to change when we get an always-on-top flag.
2026-07-15 15:53:04 +00:00
tmux update bot
9459c7ca64
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Clear the "waiting for editor" area before writing so stray characters aren't visible from underneath.
2026-07-15 13:29:09 +00:00
nicm
75c874c55b
Clear the "waiting for editor" area before writing so stray characters
...
aren't visible from underneath.
2026-07-15 13:29:08 +00:00
tmux update bot
10b2bb76f6
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add a mouse binding for empty areas of the window so C-Drag works on them as well.
2026-07-15 12:04:25 +00:00
nicm
cbb97b961c
Add a mouse binding for empty areas of the window so C-Drag works on
...
them as well.
2026-07-15 12:04:24 +00:00
Nicholas Marriott
5350da0be3
Update test.
2026-07-15 11:38:49 +01:00
Nicholas Marriott
1c7ed8d9ad
Remove README.ja from EXTRA_DIST.
2026-07-15 10:40:47 +01:00
Nicholas Marriott
8f2d25024a
Remove README.ja which has not been updated since 2018 and is out of date.
2026-07-15 10:39:46 +01:00
tmux update bot
4e586ed0b8
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Switch menus also to be attached to the window instead of an overlay and drawn as part of the client's scene. This means removing the popup menu.
2026-07-14 22:13:52 +00:00
nicm
ad6832e697
Switch menus also to be attached to the window instead of an overlay and
...
drawn as part of the client's scene. This means removing the popup menu.
2026-07-14 22:13:51 +00:00
Nicholas Marriott
11496010c0
Update test outputs.
2026-07-14 22:15:08 +01:00
Nicholas Marriott
e54785ddd6
Add menu tests.
2026-07-14 22:09:52 +01:00
Thomas Adam
6546fa0982
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Convert display-panes away from an overlay and into a mode. This is another step on the road of getting rid of overlays altogether (they are full of special cases; popups and menus are to go also eventually). We lose some of the styling of borders but gain the ability to run display-panes in another pane (perhaps not hugely useful but one never knows). The -b flag goes away as no longer useful.
2026-07-14 21:20:22 +01:00
nicm
1a02c9957c
Convert display-panes away from an overlay and into a mode. This is
...
another step on the road of getting rid of overlays altogether (they are
full of special cases; popups and menus are to go also eventually). We
lose some of the styling of borders but gain the ability to run
display-panes in another pane (perhaps not hugely useful but one never
knows). The -b flag goes away as no longer useful.
2026-07-14 19:57:30 +00:00
tmux update bot
145f8ef173
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Typos and doc fixes, from Ben Boeckel.
2026-07-14 17:24:20 +00:00
nicm
34a11db6ca
Typos and doc fixes, from Ben Boeckel.
2026-07-14 17:24:18 +00:00
Nicholas Marriott
d705471aa5
Regression tests for display-panes changes.
2026-07-14 18:18:52 +01:00
tmux update bot
67f71fe4ac
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Handle padding and tab redraw correctly in copy mode.
2026-07-14 13:12:49 +00:00
nicm
a10252dad2
Handle padding and tab redraw correctly in copy mode.
2026-07-14 13:12:48 +00:00
tmux update bot
c9d6d4b601
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Do not clear lines when we are just going to overwrite them in copy mode.
2026-07-14 12:17:19 +00:00
nicm
f88189cd59
Do not clear lines when we are just going to overwrite them in copy mode.
2026-07-14 12:17:17 +00:00
Nicholas Marriott
c39d69f961
More copy mode tests.
2026-07-14 12:05:06 +01:00
Nicholas Marriott
cf110d9d1d
Copy mode redraw test.
2026-07-14 10:07:51 +01:00
tmux update bot
ed4245a74d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add e key to open editor to customize mode (like buffer mode) and a key to show only changed items.
2026-07-14 04:18:54 +00:00
nicm
09d5977263
Add e key to open editor to customize mode (like buffer mode) and a key
...
to show only changed items.
2026-07-14 04:18:52 +00:00
tmux update bot
42b3ea0d74
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Apply dragging change to scroll-down as well as scroll-up.
2026-07-13 22:40:19 +00:00
nicm
2a75cc2236
Apply dragging change to scroll-down as well as scroll-up.
2026-07-13 22:40:18 +00:00
Nicholas Marriott
df6ed20271
Add customize mode test.
2026-07-13 23:03:33 +01:00
tmux update bot
de7fdbe85d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add environment to customize mode also
2026-07-13 21:54:09 +00:00
nicm
37da97fbe6
Add environment to customize mode also
2026-07-13 21:54:08 +00:00
Nicholas Marriott
f0f59bc2fd
Fix a test.
2026-07-13 22:52:25 +01:00
Nicholas Marriott
9c65d349e8
Tweak times in tests.
2026-07-13 22:08:58 +01:00
Nicholas Marriott
2818069d5f
Merge pull request #5389 from YayoRazo/fix/prompt-history-getline
...
fix(compat): drop fgetln compat shim, migrate prompt-history.c to getline
2026-07-13 21:25:10 +01:00
tmux update bot
2f0308ea4d
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Replace last use of fgetln with getline, GitHub issue 5389 from Yayo Razo.
Add hooks to customize mode.
2026-07-13 20:22:00 +00:00
nicm
b1c347ee0c
Replace last use of fgetln with getline, GitHub issue 5389 from Yayo Razo.
2026-07-13 20:21:59 +00:00
nicm
fba5083b58
Add hooks to customize mode.
2026-07-13 20:21:59 +00:00
Thomas Adam
9c9477ae76
Tweak previous; include SYNCING.md
2026-07-13 20:30:47 +01:00
Thomas Adam
e4dbd11d44
doc: rewrite SYNCING and reformat to markdown
...
Rewrite the SYNCING document to reflect that everything runs on Github.
Add examples on how to deal with merge conflicts.
Also reformat to markdown so any examples are more obvious in different
renderers.
2026-07-13 20:29:35 +01:00
Yayo Razo
c3e38b317d
fix(compat): drop fgetln compat shim, migrate prompt-history.c to getline
...
Following up on the comment on #5365 - this drops fgetln from
prompt-history.c (its only remaining caller) in favor of getline, and
removes the fgetln compat shim entirely since nothing references it
anymore: the compat.h declaration, compat/fgetln.c itself, and its
entry in configure.ac's AC_REPLACE_FUNCS list.
fgetln doesn't null-terminate its returned buffer when the final line
in the file lacks a trailing newline, so the old loop had a second
branch to heap-copy and manually terminate that case. getline always
null-terminates regardless, so that branch goes away and the loop
becomes uniform.
Verified with a real build (ubuntu-24.04 container, same
--enable-utf8proc --enable-asan configure CI uses): crafted a history
file with a normal entry, a blank line, and a final entry with no
trailing newline at EOF (the exact case the removed branch existed
for), loaded it through a real ASan-built tmux via show-prompt-history,
all three entries came back correctly. Full regress suite is otherwise
clean against this change.
2026-07-13 13:03:58 -06:00
tmux update bot
f75ef5ca1c
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add keys and menu items for copy mode line numbers, and a menu item for auto refresh.
2026-07-13 18:59:03 +00:00
nicm
8fbbde7035
Add keys and menu items for copy mode line numbers, and a menu item for
...
auto refresh.
2026-07-13 18:59:02 +00:00
Nicholas Marriott
2dc05ae328
Add to alerts tests.
2026-07-13 19:52:27 +01:00
tmux update bot
511fe53846
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add new-pane -M to create a new pane from a mouse binding and bind to C-MouseDrag1Pane, removing the old ctrl-click-to-swap-pane binding.
2026-07-13 17:43:10 +00:00
nicm
658e087f7a
Add new-pane -M to create a new pane from a mouse binding and bind to
...
C-MouseDrag1Pane, removing the old ctrl-click-to-swap-pane binding.
2026-07-13 17:43:09 +00:00
tmux update bot
dba85ee32e
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add pane-activity event.
2026-07-13 16:21:15 +00:00
nicm
b91086a5c8
Add pane-activity event.
2026-07-13 16:21:14 +00:00
Nicholas Marriott
4cd39ee33e
new-pane mouse test.
2026-07-13 17:10:04 +01:00
tmux update bot
e3ef97b6b4
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add some additional simple events.
fix window_copy_mouse_in_selection() indentation; ok nicm@
Work out a single layout for the entire prompt so it can all be drawn together, fixes centered prompts. GitHub issue 5328.
Allow drag on a selection to modify it, from Michael Grant.
Make split-window inside a floating pane work more nicely and not immediately create an overlapping pane, from Dane Jensen.
Set other cell when creating layout set, from Dane Jensen.
Size comparison should be >= not >, from Yayo Razo.
Remove worflow from master
2026-07-13 14:35:35 +00:00
nicm
e00a1a3e26
Add some additional simple events.
2026-07-13 14:35:33 +00:00
jsg
006cce5e4d
fix window_copy_mouse_in_selection() indentation; ok nicm@
2026-07-13 14:35:33 +00:00
nicm
4a06a1f296
Work out a single layout for the entire prompt so it can all be drawn
...
together, fixes centered prompts. GitHub issue 5328.
2026-07-13 14:35:33 +00:00
nicm
fe1b877410
Allow drag on a selection to modify it, from Michael Grant.
2026-07-13 14:35:33 +00:00
nicm
2b091d91d3
Make split-window inside a floating pane work more nicely and not
...
immediately create an overlapping pane, from Dane Jensen.
2026-07-13 14:35:33 +00:00
nicm
6d227a8479
Set other cell when creating layout set, from Dane Jensen.
2026-07-13 14:35:33 +00:00
nicm
447d804a3a
Size comparison should be >= not >, from Yayo Razo.
2026-07-13 14:35:33 +00:00
Nicholas Marriott
687c6b9cc0
Regress for more hooks.
2026-07-13 13:57:31 +01:00
Nicholas Marriott
b2e2fe824d
Add scroll regress.
2026-07-13 11:32:28 +01:00
Thomas Adam
1f6385e7bb
build: remove openbsd sync job
...
This only needs to run from the openbsd-cutover repository and will no
longer be merged into thisd repo.
2026-07-13 11:03:46 +01:00
Thomas Adam
309119f659
Remove worflow from master
2026-07-13 10:54:27 +01:00
tmux update bot
884ae3f8da
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
build: run every fifteen minutes
2026-07-13 09:42:03 +00:00
Nicholas Marriott
d9b953d5c6
Create SECURITY.md
2026-07-13 10:29:28 +01:00
Nicholas Marriott
e0014bbc7c
Add regress tests for events code.
2026-07-13 10:23:38 +01:00
Thomas Adam
d03de4986a
build: run every fifteen minutes
2026-07-13 09:27:05 +01:00
Thomas Adam
6126988781
portable: add Makefile.am
2026-07-13 09:22:53 +01:00
Thomas Adam
25e2e1d671
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
build: don't exit
build: always attempt portable merge
build: capture openbsd-base before filtering
build: fetch cutover master before merge
Use _exit in child after fork, from Yayo Razo in GitHub issue 5376.
Add missing calloc check and use fatal. Prompted by a similar change from Yayo Razo.
actions: use published openbsd-git as base update
github actions: automate updates
Do not make pty fds blocking again until all the data has been consumed or control mode clients can get stuck, GitHub issue 5356 from Ben Maurer.
Add formats and events for OSC 133 commmands, as well as a -T flag to set-hook -B to only fire when the format is true.
Replace the notification system with events. Events can carry a payload of additional payload (to reduce problems with lifetime of objects) and are delivered to one or more event sinks. This is more powerful and reduces the complex dependencies between control mode and hooks. Events are now used for hooks, control mode notifications and for monitors (set-hook -B).
2026-07-13 09:22:25 +01:00
Thomas Adam
e6eb26518b
build: don't exit
2026-07-13 09:13:28 +01:00
Thomas Adam
8b2bc1a384
build: always attempt portable merge
2026-07-13 09:10:24 +01:00
Thomas Adam
0ce72059e6
build: capture openbsd-base before filtering
2026-07-13 09:05:10 +01:00
Thomas Adam
f80d3f6123
build: fetch cutover master before merge
2026-07-13 09:00:47 +01:00
nicm
0925c9846b
Use _exit in child after fork, from Yayo Razo in GitHub issue 5376.
2026-07-13 07:57:44 +00:00
nicm
3612a9a605
Add missing calloc check and use fatal. Prompted by a similar change
...
from Yayo Razo.
2026-07-13 07:57:44 +00:00
Thomas Adam
cc8e0f2f67
actions: use published openbsd-git as base update
2026-07-13 08:50:49 +01:00
Nicholas Marriott
a662981f10
Bump a time limit.
2026-07-13 07:08:05 +01:00
Nicholas Marriott
d77c9dc6aa
Tweak BIDI test.
2026-07-12 23:18:47 +01:00
Nicholas Marriott
8ac3fcedca
Do not reuse sockets so much to avoid problems with slow server shutdown.
2026-07-12 22:03:16 +01:00
Nicholas Marriott
ea236c12a6
Merge pull request #5382 from YayoRazo/fix/sixel-saved-images-uaf
...
fix(screen): free alternate-screen images on screen destroy
2026-07-12 21:40:02 +01:00
Nicholas Marriott
a53a0aa0b5
Merge pull request #5365 from YayoRazo/fix/getline-fgetln-overflow
...
fix(compat): guard buffer size multiplication in getline
2026-07-12 21:18:37 +01:00
Nicholas Marriott
5e3db12c07
No need for ASAN_OPTIONS.
2026-07-12 21:02:30 +01:00
Nicholas Marriott
4f981a2506
Turn on ASAN for macOS regress.
2026-07-12 20:59:11 +01:00
Thomas Adam
b602dc57b1
github actions: automate updates
2026-07-12 17:24:37 +01:00
Nicholas Marriott
330bedfb47
Build with ASAN on macOS by default.
2026-07-12 13:26:25 +01:00
Yayo Razo
3ff24a8eb4
fix(compat): guard buffer size multiplication in getline
2026-07-11 17:07:21 -06:00
Yayo Razo
28a1231100
fix(screen): free alternate-screen images on screen destroy
2026-07-11 15:53:08 -06:00
Nicholas Marriott
6fd9987632
Revert "Add formats and events for OSC 133 commmands, as well as a -T flag to"
...
This reverts commit f3c6b4f1a3 .
2026-07-11 04:37:04 +01:00
Thomas Adam
8f27092756
Merge branch 'obsd-master'
2026-07-10 18:20:43 +01:00
Nicholas Marriott
e7fef1fd64
Test for wait exit, GitHub issue 5356 from Ben Maurer.
2026-07-10 16:45:58 +01:00
nicm
7f2b0ae16e
Do not make pty fds blocking again until all the data has been consumed
...
or control mode clients can get stuck, GitHub issue 5356 from Ben Maurer.
2026-07-10 15:45:11 +00:00
nicm
0cc84b8cae
Do not make pty fds blocking again until all the data has been consumed
...
or control mode clients can get stuck, GitHub issue 5356 from Ben Maurer.
2026-07-10 15:45:11 +00:00
Nicholas Marriott
1329473a4b
Merge pull request #5358 from bmaurer/regress-control-client-exit
...
Add a regression test for output queued to exiting control clients
2026-07-10 16:39:04 +01:00
Thomas Adam
84cc6541f3
Merge branch 'obsd-master'
2026-07-10 16:30:07 +01:00
nicm
512255b9a7
Add formats and events for OSC 133 commmands, as well as a -T flag to
...
set-hook -B to only fire when the format is true.
2026-07-10 15:20:06 +00:00
nicm
f3c6b4f1a3
Add formats and events for OSC 133 commmands, as well as a -T flag to
...
set-hook -B to only fire when the format is true.
2026-07-10 15:20:06 +00:00
Ben Maurer
ad662d3926
Add a regression test for output queued to exiting control clients.
...
Checks that once a control client is marked for exit the server stops
queueing notifications for it (PR 5357). The client's output is drained only
slowly so a backlog holds the exit handshake open; the client is then
detached and the window renamed, and the %window-renamed notifications must
not appear in the client's output stream.
2026-07-10 07:54:21 -07:00
nicm
d29aa12117
Replace the notification system with events. Events can carry a payload of
...
additional payload (to reduce problems with lifetime of objects) and are
delivered to one or more event sinks. This is more powerful and reduces the
complex dependencies between control mode and hooks. Events are now used for
hooks, control mode notifications and for monitors (set-hook -B).
wait-for can now wait for an event to fire (-E flag, with -F to for filter),
with -v to print the payload, as well as listing (-l) waiting clients on an
event and forcing one to wake (-w).
A few additional hooks are also now available (pane-created, pane-resized, etc)
and some of the existing ones have additional format variables available.
2026-07-10 13:38:45 +00:00
Thomas Adam
ca6dd6ca92
Merge branch 'obsd-master'
2026-07-10 08:30:07 +01:00
nicm
1508bec957
Don't bother to send notifications to clients with CLIENT_EXIT, GitHub
...
issue 5357 from Ben Maurer.
2026-07-10 07:25:05 +00:00
nicm
bcc73e0db4
Change NOTHING (which means only redraw the indicator) to MOVE. And
...
redefine NOTHING as /actually/ nothing. Use it for commands which
actually make no change. Fixes flickering due to excessive redrawing of
indicator lines. Mostly from Michael Grant.
2026-07-10 07:13:05 +00:00
Nicholas Marriott
ec31f4566d
Tweak test.
2026-07-09 09:39:44 +01:00
Thomas Adam
dfb2a9404f
Merge branch 'obsd-master'
2026-07-09 09:30:06 +01:00
Thomas Adam
7ac0d6bead
Merge branch 'obsd-master'
2026-07-09 09:00:06 +01:00
Nicholas Marriott
041b6a6bc7
Add test from xiaomublue at gmail dot com.
2026-07-09 08:56:06 +01:00
nicm
3a6c717bb8
Do not exit at bottom if a selection is in progress, GitHub issue 5349
...
from xiaomublue at gmail dot com.
2026-07-09 07:54:07 +00:00
Thomas Adam
ec74c46d1e
Merge branch 'obsd-master'
2026-07-09 08:45:06 +01:00
nicm
161dbaf1ce
Cancel pending resizes and resize immediately when entering alternate
...
screen, fixes flickering with scrollbars. GitHub issue 5351 from Michael
Grant.
2026-07-09 07:35:05 +00:00
nicm
e242da168b
Clip the status line and menu against an open popup overlay, GitHub
...
issue 5350 from Noam Stolero.
2026-07-09 07:32:58 +00:00
nicm
dea309cf8d
Allow empty name with new-window again, from Jacob Koziej.
2026-07-09 07:19:24 +00:00
Thomas Adam
ee3944c8fd
Merge branch 'obsd-master'
2026-07-09 08:00:06 +01:00
nicm
1fefb80445
Add t/d for time difference in seconds.
2026-07-09 06:33:19 +00:00
Nicholas Marriott
f92cb43ce4
t/d test.
2026-07-08 12:36:19 +01:00
Thomas Adam
cd2ca9ec34
Merge branch 'obsd-master'
2026-07-08 12:15:06 +01:00
nicm
e37a2e54ab
Fix regsub with anchor at start of pattern, GitHub issue 5341.
2026-07-08 11:04:51 +00:00
Thomas Adam
53f3b05001
Merge branch 'obsd-master'
2026-07-08 10:30:05 +01:00
nicm
8e76565c9c
Keep all modes except cursor during redraw, GitHub issue 5337 from Ayman
...
Bagabas.
2026-07-08 09:23:10 +00:00
Nicholas Marriott
c830710e11
More sub tests.
2026-07-08 09:55:21 +01:00
Thomas Adam
0f354ac4e0
Merge branch 'obsd-master'
2026-07-08 09:30:06 +01:00
Nicholas Marriott
e601bfb362
Theme report test from Ayman Bagabas.
2026-07-08 09:22:55 +01:00
nicm
dac6514147
Report the terminal's own theme to panes rather than guessing from the
...
background. GitHub issue 5343 from Ayman Bagabas.
2026-07-08 08:21:53 +00:00
nicm
ac723bf2df
Do not crash looking for next or previous session. GitHub issue 5344.
2026-07-08 08:15:49 +00:00
Thomas Adam
c8f6b54da7
Merge branch 'obsd-master'
2026-07-08 09:15:06 +01:00
Nicholas Marriott
27c26e88e5
detach-on-destroy next/previous tests.
2026-07-08 09:16:50 +01:00
Nicholas Marriott
e77d9ad043
-k/empty panes tests.
2026-07-08 09:07:48 +01:00
nicm
25060c3fa5
Fix empty argument to splitw/newp and add -k to copy-mode.
2026-07-08 08:07:42 +00:00
nicm
28c2005a2a
Fix a typo (use right var), from Dane Jensen.
2026-07-08 07:55:17 +00:00
Thomas Adam
db115c6b97
Merge branch 'obsd-master'
2026-07-07 14:00:06 +01:00
nicm
7b02cb6d03
Fix . and ; bindings, reported by tb.
2026-07-07 12:30:36 +00:00
Thomas Adam
8beb17df0d
Merge branch 'obsd-master'
2026-07-07 11:00:08 +01:00
nicm
76b693aa81
Add C-b g , and C-b g . for move and resize menus, also add to pane menu
...
(and fix to make them work).
2026-07-07 09:45:09 +00:00
Thomas Adam
d53f1b7458
Merge branch 'obsd-master'
2026-07-07 09:15:06 +01:00
nicm
7188391a22
Add a layout_geometry container struct, from Dane Jensen.
2026-07-07 08:07:26 +00:00
Thomas Adam
869170abd6
Merge branch 'obsd-master'
2026-07-07 09:00:07 +01:00
nicm
1ea574e4ca
Set initial scrollbar state, from Michael Grant.
2026-07-07 07:47:03 +00:00
nicm
af35bcb64f
Restore { and } to swap-pane and for floating panes and use a separate
...
key table accessed by g (short for "gove and/or gesize") for floating
panes. So "C-b g Up" moves the pane to top-centre, "C-b g M-Up" moves
and resizes it. This means we not only do not lose the surprisingly
popular { and } bindings, but we can have more than four keys for moving
and resizing panes.
2026-07-07 07:43:07 +00:00
Thomas Adam
55ce48c152
Merge branch 'obsd-master'
2026-07-06 23:00:06 +01:00
nicm
ff09914327
Could of minor tidy ups.
2026-07-06 21:44:26 +00:00
Nicholas Marriott
3946e24eff
Add array test.
2026-07-06 18:13:25 +01:00
Thomas Adam
b07424224b
Merge branch 'obsd-master'
2026-07-06 17:00:06 +01:00
nicm
d33d5b7de8
When sync is enabled, we need to mark the whole scroll region dirty if
...
there has been any scrolling. GitHub issue 5330.
2026-07-06 15:41:31 +00:00
Thomas Adam
9180356b13
Merge branch 'obsd-master'
2026-07-06 16:00:06 +01:00
nicm
20ef19b42f
Add a key to change an array key in customize mode.
2026-07-06 14:40:57 +00:00
nicm
1117caaf09
Change array item keys to be strings instead of numbers which are
...
painful to work with.
2026-07-06 14:29:10 +00:00
Thomas Adam
e6505947ec
Merge branch 'obsd-master'
2026-07-06 13:30:06 +01:00
nicm
79b83600af
NOJOBS is a flag, use correct argument.
2026-07-06 12:10:18 +00:00
nicm
85e3ca5ae2
Check for width/height 0, based on change from Uzair Aftab.
2026-07-06 12:08:52 +00:00
Thomas Adam
e11af53819
Merge branch 'obsd-master'
2026-07-06 13:00:06 +01:00
Thomas Adam
0593cbeb84
Merge branch 'obsd-master'
2026-07-06 12:30:06 +01:00
nicm
d565fd3b54
Do not create zero size panes, from Uzair Aftab.
2026-07-06 11:28:39 +00:00
nicm
699b18414d
Do not allow jobs in monitor formats.
2026-07-06 11:17:28 +00:00
Nicholas Marriott
eb82e8527a
Shorten all socket names because macOS is stupid.
2026-07-06 11:50:58 +01:00
Nicholas Marriott
069201dd1a
Regression test fixes.
2026-07-06 11:22:56 +01:00
Nicholas Marriott
37e4b3cdb6
Fix name.
2026-07-06 10:12:24 +01:00
Nicholas Marriott
501e8da925
Update some tests and improve Makefile.
2026-07-06 10:00:26 +01:00
Nicholas Marriott
6a6822b906
Shorten socket names.
2026-07-06 09:27:17 +01:00
Thomas Adam
e7c1361a10
Merge branch 'obsd-master'
2026-07-06 09:15:06 +01:00
nicm
913e503296
Unzoom before creating a floating pane (for now).
2026-07-06 07:57:45 +00:00
Nicholas Marriott
2c0f06782d
Add alerts test.
2026-07-06 08:47:57 +01:00
Nicholas Marriott
fcce73af42
Add another test.
2026-07-05 22:14:48 +01:00
Nicholas Marriott
2b2963859b
Add some hooks tests.
2026-07-05 21:56:52 +01:00
Thomas Adam
327c05307a
Merge branch 'obsd-master'
2026-07-05 20:00:06 +01:00
nicm
3f065cf789
Add a window pane reference count.
2026-07-05 18:37:57 +00:00
Nicholas Marriott
dc1693d5a1
set-hook -R test.
2026-07-05 18:26:44 +01:00
Nicholas Marriott
29b2b7a875
Mouse on by default.
2026-07-05 15:50:54 +01:00
Thomas Adam
34af038fcc
Merge branch 'obsd-master'
2026-07-05 15:01:36 +01:00
Nicholas Marriott
d422621eaa
Change a couple of regress configs that are incorret and only work because of
...
differences in parse-only.
2026-07-05 14:36:47 +01:00
Thomas Adam
f556e4b6fc
Merge branch 'obsd-master'
2026-07-05 12:00:06 +01:00
nicm
2fdcb64a79
Add a define for whether mouse is enabled by default (still off).
2026-07-05 10:49:05 +00:00
nicm
468c2942a3
Apply tree mode selection style to the entire line.
2026-07-05 10:28:02 +00:00
Nicholas Marriott
df56ba95fc
Update regress for monitor.
2026-07-05 10:21:44 +01:00
Nicholas Marriott
bd39ce0d49
Extend tests.
2026-07-05 10:20:15 +01:00
Thomas Adam
5068e4149a
Merge branch 'obsd-master'
2026-07-05 09:30:06 +01:00
nicm
de024e04d7
Add set-hook -B install a subscription like in control mode.
...
Subscriptions are formats which are checked once a second and if changed
invoke a hook. show-hooks -B lists.
2026-07-05 08:24:00 +00:00
Nicholas Marriott
7ff972773a
Bump some times.
2026-07-05 09:06:19 +01:00
Nicholas Marriott
9634538106
Fix test.
2026-07-05 08:17:32 +01:00
Thomas Adam
5356c62ead
Merge branch 'obsd-master'
2026-07-04 23:30:06 +01:00
Thomas Adam
9af9226ff9
Merge branch 'obsd-master'
2026-07-04 23:15:06 +01:00
Nicholas Marriott
92028ed6e2
Add a few more tests.
2026-07-04 23:09:16 +01:00
nicm
7a8f8f5a74
Do not use stale pointers in modes.
2026-07-04 22:09:06 +00:00
nicm
415885ecb9
Infer the terminal theme from the background colour correctly, if theme
...
reporting is not supported.
2026-07-04 22:06:45 +00:00
Thomas Adam
7b833d07d9
Merge branch 'obsd-master'
2026-07-04 21:30:06 +01:00
Nicholas Marriott
2f58804717
Add some basic choose mode tests.
2026-07-04 21:18:48 +01:00
nicm
b05f0abeeb
Do not ignore filter when >1 pane. GitHub issue 5326.
2026-07-04 20:17:53 +00:00
Thomas Adam
2d75f79217
Merge branch 'obsd-master'
2026-07-04 20:15:06 +01:00
nicm
898a91903a
Add some missing checks which make new pane positions off, from Dane
...
Jensen.
2026-07-04 18:54:18 +00:00
Nicholas Marriott
6e9574c715
Linux arm64 fails.
2026-07-04 19:40:28 +01:00
Nicholas Marriott
2efd2d4970
Enable macOS regress.
2026-07-04 19:25:39 +01:00
Nicholas Marriott
219dc7f99e
Locale breaks tests.
2026-07-04 19:13:53 +01:00
Nicholas Marriott
1b4015226f
Use correct counts for this test also.
2026-07-04 19:01:48 +01:00
Nicholas Marriott
0f77d9b30a
Fix lengths in test.
2026-07-04 18:52:53 +01:00
Nicholas Marriott
a19b961427
Fix test.
2026-07-04 18:37:53 +01:00
Nicholas Marriott
646637f53a
Add control subs test.
2026-07-04 17:18:33 +01:00
Thomas Adam
21e91cfa00
portable: add monitor.c
2026-07-04 17:07:31 +01:00
Thomas Adam
f32b65ac4a
Merge branch 'obsd-master'
2026-07-04 17:06:56 +01:00
Nicholas Marriott
a02e25ba01
Do not invoke clear check on respawn.
2026-07-04 17:00:28 +01:00
nicm
c5a7309966
Dirty ED 2 correctly, GiHub issue 5322 from git at twilligon dot com.
2026-07-04 08:34:16 +00:00
Nicholas Marriott
1d7021130d
Set ASAN_OPTIONS in regress Makefile.
2026-07-04 09:15:32 +01:00
nicm
8e03310afe
Move monitor stuff out of control.c into its own file for reuse.
2026-07-03 22:58:23 +00:00
Thomas Adam
31b0b0c99e
Merge branch 'obsd-master'
2026-07-03 20:00:06 +01:00
Thomas Adam
90492aa26d
Merge branch 'obsd-master'
2026-07-03 19:30:06 +01:00
nicm
d512a65d4c
Add O and V loops in formats for options and environment.
2026-07-03 18:28:57 +00:00
nicm
4378a17fbe
Add floating panes key bindings and menu options, from Dane Jensen.
2026-07-03 18:14:45 +00:00
Thomas Adam
8e8fa3d10b
Merge branch 'obsd-master'
2026-07-03 19:00:06 +01:00
nicm
b5a6d9bcab
Fix some spelling and indentation.
2026-07-03 17:43:14 +00:00
Thomas Adam
929e6b5c9b
Merge branch 'obsd-master'
2026-07-03 17:30:06 +01:00
Nicholas Marriott
44304bf9e4
Add pane_start_command_list to tests.
2026-07-03 17:10:51 +01:00
nicm
e03a937c71
Add a quoted pane_start_command_list which does not lose argument
...
information.
2026-07-03 16:10:25 +00:00
nicm
820067826a
Add -E to new-window and respawn-pane and respawn-window to create empty
...
panes.
2026-07-03 16:09:49 +00:00
Thomas Adam
4a6ac5e209
Merge branch 'obsd-master'
2026-07-03 17:00:06 +01:00
Nicholas Marriott
29f0939a5b
Update tests for -E.
2026-07-03 17:01:16 +01:00
Nicholas Marriott
310d0e93d6
Pane sort tests.
2026-07-03 16:37:47 +01:00
nicm
6967f54774
Add additional pane sort orders.
2026-07-03 15:35:51 +00:00
Thomas Adam
8d67f8af24
Merge branch 'obsd-master'
2026-07-03 16:30:06 +01:00
Thomas Adam
0148ad5820
Merge branch 'obsd-master'
2026-07-03 16:15:06 +01:00
nicm
e1fc6b31ee
Add manual width and height window formats.
2026-07-03 15:10:07 +00:00
Nicholas Marriott
47b90a4e03
Add single quote test.
2026-07-03 15:48:07 +01:00
nicm
cceca5a158
Add single quote operator.
2026-07-03 14:48:07 +00:00
Thomas Adam
88932f2d09
Merge branch 'obsd-master'
2026-07-03 12:15:06 +01:00
Nicholas Marriott
89a59d4df5
Bump version.
2026-07-03 11:50:24 +01:00
nicm
fa2c9f4551
Allow join-pane to tile floating panes, from Dane Jensen.
2026-07-03 10:47:32 +00:00
Nicholas Marriott
f645f0abe8
A few more tests.
2026-07-03 07:13:31 +01:00
Thomas Adam
f0ec51e78d
Merge branch 'obsd-master'
2026-07-03 00:00:06 +01:00
nicm
2b8c3c1362
Enable swap-pane on floating panes again but not -U/-D. From Dane
...
Jensen.
2026-07-02 22:31:25 +00:00
Nicholas Marriott
dbb70b394e
Fix test.
2026-07-02 23:28:15 +01:00
Nicholas Marriott
abcf8dca3a
Put ASAN_OPTIONS in the right place.
2026-07-02 23:18:50 +01:00
Nicholas Marriott
351bef58a3
Undo last.
2026-07-02 23:06:55 +01:00
Thomas Adam
8d877421cf
Merge branch 'obsd-master'
2026-07-02 23:00:06 +01:00
Nicholas Marriott
f592be00fa
Do not require debug for ASAN.
2026-07-02 23:01:19 +01:00
Nicholas Marriott
352b1173c8
Fix.
2026-07-02 22:59:23 +01:00
Nicholas Marriott
bf0eee35f9
Fix.
2026-07-02 22:57:55 +01:00
Nicholas Marriott
228c9c9277
Tweak.
2026-07-02 22:57:14 +01:00
Nicholas Marriott
fa2a3b679a
Use ASAN in tests.
2026-07-02 22:56:07 +01:00
Nicholas Marriott
d718b0eac7
More test fixes.
2026-07-02 22:53:53 +01:00
nicm
93039db58c
Use message-style as default for message-format again. GitHub issue 5315.
2026-07-02 21:45:36 +00:00
nicm
6ebef7450a
Do not double free or leak pane on failure, from Uzair Aftab in GitHub
...
issue 5316.
2026-07-02 21:40:05 +00:00
Nicholas Marriott
a82e09d1a3
Test fixes.
2026-07-02 22:12:14 +01:00
Thomas Adam
63a8af0e15
Merge branch 'obsd-master'
2026-07-02 12:00:06 +01:00
nicm
6b9b6c0b0b
Copy UTF-8 data correctly.
2026-07-02 10:34:14 +00:00
Nicholas Marriott
390805d8b9
Make output nicer for tests.
2026-07-02 10:46:32 +01:00
Nicholas Marriott
70f37ef815
No vis.h in portable.
2026-07-02 10:28:48 +01:00
Nicholas Marriott
b6fca55447
Add tests for input path.
2026-07-02 10:26:25 +01:00
Thomas Adam
e22c56f02f
Merge branch 'obsd-master'
2026-07-02 10:15:06 +01:00
Nicholas Marriott
01c86e64b7
No x flag.
2026-07-02 10:17:04 +01:00
Thomas Adam
ca81c36383
Merge branch 'obsd-master'
2026-07-02 10:00:06 +01:00
Nicholas Marriott
a9a04c7bc0
Targets tests.
2026-07-02 10:03:00 +01:00
nicm
0a81f4d742
Add a raw grid output to capture-pane for debugging and regression
...
tests.
2026-07-02 08:51:05 +00:00
nicm
0ad5035457
Do not crash if no client.
2026-07-02 08:47:25 +00:00
Nicholas Marriott
d626cef6de
Environment tests.
2026-07-02 09:01:49 +01:00
Nicholas Marriott
7713cbebd2
Add options tests.
2026-07-02 08:15:22 +01:00
Nicholas Marriott
baf16f0419
Format tests.
2026-07-02 07:36:26 +01:00
Nicholas Marriott
9dcc2da348
Add format modifiers test.
2026-07-02 07:36:26 +01:00
Thomas Adam
f50a38de23
Merge branch 'obsd-master'
2026-07-01 22:15:06 +01:00
nicm
3ef51a469c
move-pane needs -D.
2026-07-01 20:53:38 +00:00
Thomas Adam
d5688bf165
Merge branch 'obsd-master'
2026-07-01 21:30:06 +01:00
nicm
8dc9e24c74
Revert previous, it is not the right change.
2026-07-01 20:26:39 +00:00
nicm
735bbf9da7
Disable time expansion if expanding an inner format or more %s are
...
needed.
2026-07-01 20:18:05 +00:00
Nicholas Marriott
6ad86ebdf1
Merge branch 'release_3.7b'
2026-07-01 20:06:23 +01:00
Nicholas Marriott
3d58e04c93
no point in having stuff i cannot test
2026-07-01 19:05:24 +01:00
Nicholas Marriott
9fb67a2cdd
Missing \.
2026-07-01 19:00:37 +01:00
Nicholas Marriott
d9d12c5c43
More tweaks.
2026-07-01 18:59:34 +01:00
Nicholas Marriott
728ad24d4a
utf8proc.
2026-07-01 18:55:28 +01:00
Nicholas Marriott
5b37471db7
Spaces.
2026-07-01 18:53:37 +01:00
Nicholas Marriott
c41e98be3c
yaml is poo.
2026-07-01 18:53:16 +01:00
Nicholas Marriott
35f429cb6d
macOS too.
2026-07-01 18:52:47 +01:00
Nicholas Marriott
85fc0ea57c
Add a test for regress.
2026-07-01 18:43:59 +01:00
Nicholas Marriott
6f588402c3
Remove a char which differs between platforms.
2026-07-01 18:43:01 +01:00
Nicholas Marriott
fada35478b
Colours changed in tests.
2026-07-01 18:30:55 +01:00
Nicholas Marriott
bd5d7a8a7a
Update prompt test.
2026-07-01 18:15:40 +01:00
Nicholas Marriott
8108356978
Update names test.
2026-07-01 18:02:45 +01:00
Nicholas Marriott
5e32eddb8c
Fix up merge.
2026-07-01 18:00:15 +01:00
Thomas Adam
1818b6ac16
Merge branch 'obsd-master'
2026-07-01 17:52:07 +01:00
Nicholas Marriott
e802909de0
Fix so that the end of a synchronized update again triggers a redraw.
2026-07-01 17:49:40 +01:00
nicm
824ef37f5f
Change layout sets to build the layout using the new mechanics, from
...
Dane Jensen.
2026-07-01 16:43:14 +00:00
nicm
565db46a19
Instead of fully redrawing the pane when sync ends, only redraw lines
...
that have been changed.
2026-07-01 15:44:13 +00:00
Thomas Adam
87aa44f4bc
Merge branch 'obsd-master'
2026-07-01 14:30:07 +01:00
nicm
e9396e59d9
Add a couple of format c/f and c/b to emit colours.
2026-07-01 13:12:17 +00:00
Thomas Adam
002ac977f8
Merge branch 'obsd-master'
2026-07-01 09:15:07 +01:00
nicm
724f85d275
Do not draw to tty if PANE_REDRAW has been set since it is just going to
...
be replaced.
2026-07-01 07:48:48 +00:00
Thomas Adam
b3fa1c0b9c
Merge branch 'obsd-master'
2026-07-01 07:30:06 +01:00
nicm
e69950a9ca
Add overline for ghostty also, GitHub issue 5309.
2026-07-01 06:17:58 +00:00
Thomas Adam
41b4743eba
Merge branch 'obsd-master'
2026-07-01 00:00:06 +01:00
nicm
1e9a16a748
And some other indentation.
2026-06-30 22:48:12 +00:00
nicm
74a5069c0a
Fix some indentation.
2026-06-30 22:44:21 +00:00
Thomas Adam
8d470017bc
Merge branch 'obsd-master'
2026-06-30 22:00:06 +01:00
Nicholas Marriott
928c7a9771
More checks for macOS.
2026-06-30 21:28:28 +01:00
nicm
eda7e563d0
Change a malloc to calloc.
2026-06-30 20:27:36 +00:00
Thomas Adam
90fc51542f
Merge branch 'obsd-master'
2026-06-30 11:30:06 +01:00
nicm
f8674cc993
Add default features for Ghostty, GitHub issue 5305 from Glib Shpychka.
2026-06-30 10:07:05 +00:00
Thomas Adam
843adbf454
Merge branch 'obsd-master'
2026-06-30 10:30:06 +01:00
nicm
abefc3f705
Redraw when sync stops again (accidentally turned off), from Japin Li in
...
GitHub issue 5304.
2026-06-30 09:20:43 +00:00
Thomas Adam
dddd7b44c8
Merge branch 'obsd-master'
2026-06-30 08:15:06 +01:00
Nicholas Marriott
25c874c489
Merge branch 'release_3.7a'
2026-06-30 07:46:06 +01:00
Nicholas Marriott
0e418b62d2
Remove C-r from help.
2026-06-30 07:44:51 +01:00
nicm
a97f643bd3
Remove C-r from help since it does not in fact exist.
2026-06-30 06:44:46 +00:00
Nicholas Marriott
78a2145a47
Update CHANGES.
2026-06-30 07:42:25 +01:00
Nicholas Marriott
dbe50934b1
Add caching of scrollbar options to 3.7a branch.
2026-06-30 07:41:02 +01:00
Thomas Adam
543d104f85
Merge branch 'obsd-master'
2026-06-29 20:15:07 +01:00
nicm
e06207c914
Cache scrollbar options in window to avoid a slow lookup when working
...
out visible ranges.
2026-06-29 19:03:34 +00:00
nicm
166267c87a
Allow :. in names again, forbidding them is overly pernickety. Only
...
forbid invalid UTF-8 and #(.
2026-06-29 19:53:42 +01:00
Thomas Adam
91e0737b8a
Merge branch 'obsd-master'
2026-06-29 19:30:07 +01:00
nicm
65a032b205
Allow :. in names again, forbidding them is overly pernickety. Only
...
forbid invalid UTF-8 and #(.
2026-06-29 18:17:28 +00:00
Thomas Adam
80c7dcdbd7
Merge branch 'obsd-master'
2026-06-29 18:30:06 +01:00
nicm
bcd54d12d8
Add link=/nolink to styles to specific a hyperlink. GitHub issue 4280
...
from Moritz Angermann.
2026-06-29 17:08:52 +00:00
Thomas Adam
726e19a886
Merge branch 'obsd-master'
2026-06-29 18:00:06 +01:00
nicm
95719e342d
Limit hyperlink URIs to 1024 bytes which seems enough and allows us not
...
to have to worry about gigantic URIs in styles, part of a change from
Moritz Angermann.
2026-06-29 16:44:06 +00:00
nicm
132a63d1da
Allow empty window and session names.
2026-06-29 17:36:40 +01:00
Thomas Adam
822f700b15
Merge branch 'obsd-master'
2026-06-29 17:30:06 +01:00
nicm
5df51a06f5
Allow empty window and session names.
2026-06-29 16:20:45 +00:00
Nicholas Marriott
ad74c5ed7f
Add additional grid consistency checks for macOS.
2026-06-29 10:20:38 +01:00
Thomas Adam
d5284be91d
Merge branch 'obsd-master'
2026-06-29 09:00:09 +01:00
nicm
c29b41e527
Make pane scrollbars able to auto-hide after a short timeout. This
...
replaces the previous "modal" behaviour where the pane would be resized,
which tended to make a mess. Instead, the scrollbar appears when
scrolling or when hovered over with the mouse and disappears a
(configurable) short period later. From Michael Grant.
2026-06-29 07:45:09 +00:00
nicm
4e612612dc
Only forbid #( in names and titles (styles are #[ and are useful).
2026-06-29 08:11:08 +01:00
Thomas Adam
705fbf92ee
Merge branch 'obsd-master'
2026-06-28 21:49:05 +01:00
Nicholas Marriott
2dc704abb6
Always set SIXEL aspect ratio to 1:1, GitHub issue 5291 from James Holderness.
2026-06-28 17:01:52 +01:00
Nicholas Marriott
6c2ef75681
Bump version.
2026-06-28 16:54:51 +01:00
nicm
96899dc527
Only forbid #( in names and titles (styles are #[ and are useful).
2026-06-28 15:53:18 +00:00
Your Name
b0db912bde
Update check-names test.
2026-06-28 16:52:28 +01:00
nicm
7cd33ce0dd
Set view name immediately when entering mode.
2026-06-27 12:37:36 +00:00
nicm
e0dd40f812
Clear lines before writing in copy mode to avoid leaving stray text when
...
new line is shorter than old.
2026-06-27 12:27:43 +00:00
nicm
79f0f97495
Make split-window create a new floating pane if used in a floating pane,
...
rather than just complaining. Also improve documentation. From Dane
Jensen.
2026-06-27 10:23:14 +00:00
nicm
5e0b0a2aa3
Pulled code out of layout_split_pane for reuse and added
...
layout_insert_tile. From Dane Jensen.
2026-06-27 10:21:26 +00:00
nicm
e24969b422
Add a helper to swap a node into the place of a leaf, from Dane Jensen.
2026-06-27 10:18:32 +00:00
nicm
dd02989e88
Invalidate scene when changing window Z index, from Dane Jensen.
2026-06-27 10:16:15 +00:00
nicm
7383c04205
Preseve prompt flags across line clear, from Aung Myo Kyaw.
2026-06-27 10:05:38 +00:00
Nicholas Marriott
84291b021f
Fix check so as to not use NULL name.
2026-06-27 10:58:39 +01:00
Thomas Adam
91e30f4f22
Merge branch 'obsd-master'
2026-06-26 21:15:06 +01:00
nicm
5be44a6c03
Use linked sessions not active.
2026-06-26 19:53:47 +00:00
Thomas Adam
8cc20a5618
Merge branch 'obsd-master'
2026-06-26 19:00:06 +01:00
Nicholas Marriott
81f88f8517
Add a missing {.
2026-06-26 18:55:59 +01:00
Nicholas Marriott
4eafb27b89
tmux 3.7.
2026-06-26 18:50:58 +01:00
Nicholas Marriott
4fc4644652
Tweak.
2026-06-26 18:50:42 +01:00
nicm
c0f213b056
Add info modes to tree mode like for clients.
2026-06-26 17:43:15 +00:00
Nicholas Marriott
a2915cfdef
Fuzzy test.
2026-06-26 16:09:55 +01:00
Thomas Adam
4b921f3821
Merge branch 'obsd-master'
2026-06-26 15:56:03 +01:00
nicm
575f84ce0f
Add switch-mode a fast switcher with fuzzy searching, bound to Tab (for
...
windows) or BTab (S-Tab, for sessions) by default.
2026-06-26 14:40:30 +00:00
Thomas Adam
1048796003
Merge branch 'obsd-master'
2026-06-26 15:15:06 +01:00
nicm
973c4ab569
Drop mouse movement events rather than redrawing unnecessarily.
2026-06-26 13:58:00 +00:00
Thomas Adam
445677dc00
Merge branch 'obsd-master'
2026-06-26 14:15:06 +01:00
Thomas Adam
da27529d91
Merge branch 'obsd-master'
2026-06-26 14:00:06 +01:00
nicm
f59921ce18
Use underscore for current in status line.
2026-06-26 12:52:36 +00:00
nicm
ec3c65122f
message-command-style should be inverse of message-style.
2026-06-26 12:41:08 +00:00
Thomas Adam
9fa5e81836
Merge branch 'obsd-master'
2026-06-26 13:15:06 +01:00
nicm
4869a5165a
Add tree-mode-selection-style to continue the process of moving away
...
from mode-style.
2026-06-26 12:06:17 +00:00
Thomas Adam
30e84ff687
Merge branch 'obsd-master'
2026-06-26 13:00:09 +01:00
nicm
73fd01c986
Some colour fixes and tweaks (marked pane, cursor colours now work).
2026-06-26 11:36:22 +00:00
Thomas Adam
3729af7438
Merge branch 'obsd-master'
2026-06-26 12:00:06 +01:00
Nicholas Marriott
1e5aef279a
Update tests for colour/position changes.
2026-06-26 11:37:36 +01:00
nicm
19db019e0c
Do not force theme colours to default when capturing.
2026-06-26 10:29:38 +00:00
Nicholas Marriott
666464d7a9
Add X11 colours script.
2026-06-26 11:28:15 +01:00
Thomas Adam
391f880d07
Merge branch 'obsd-master'
2026-06-26 11:15:06 +01:00
nicm
d0bf3bf06d
Add ability to float a tiled pane to break-pane, from Dane Jensen.
2026-06-26 10:02:01 +00:00
Thomas Adam
edb027e910
Merge branch 'obsd-master'
2026-06-26 11:00:07 +01:00
nicm
dd2fef6673
Do not count arguments starting - as optional arguments, makes old
...
resize-pane syntax work. GitHub issue 5275, based on a changed from Dane
Jensen.
2026-06-26 09:54:56 +00:00
nicm
8e79c4a03d
Bump style buffer to 1024, GitHub issue 5279 from Moritz Angermann.
2026-06-26 09:38:44 +00:00
Thomas Adam
19d70a85fc
Merge branch 'obsd-master'
2026-06-26 09:30:07 +01:00
nicm
f5e9bcc1fc
Another couple of bits look nicer in grey.
2026-06-26 08:19:44 +00:00
nicm
3631f81236
Apply better colours to various builtin bits in modes.
2026-06-26 08:10:48 +00:00
Thomas Adam
1e6f64d5c9
Merge branch 'obsd-master'
2026-06-26 01:00:06 +01:00
nicm
569e9d932f
Make the default colours more conservative, its really the greys that
...
matter.
2026-06-25 23:48:20 +00:00
Thomas Adam
6a7f4a1894
Merge branch 'obsd-master'
2026-06-26 00:30:07 +01:00
nicm
8c55a388cd
Add nicer dark and light colour sets (themes) used on terminals with 256
...
or more colours. Currently based these on emacs but they could change.
Terminals with fewer colours use the ANSI colours. A new "theme" option
overrides the detected theme (set to "terminal" to go back to ANSI
colours).
2026-06-25 23:17:25 +00:00
Thomas Adam
d176f1f89c
Merge branch 'obsd-master'
2026-06-25 18:30:06 +01:00
nicm
2d0845860a
Fix scrollbar with a format colour.
2026-06-25 17:17:25 +00:00
Thomas Adam
5ae701aab5
Merge branch 'obsd-master'
2026-06-25 18:00:06 +01:00
nicm
0d016195ac
Expand colours as formats like styles.
2026-06-25 16:32:42 +00:00
Thomas Adam
fc2de240d2
Merge branch 'obsd-master'
2026-06-25 15:30:06 +01:00
nicm
7c1ef6a387
Format variable for client colours.
2026-06-25 14:27:58 +00:00
Thomas Adam
0b538b6f2a
Merge branch 'obsd-master'
2026-06-25 13:29:53 +01:00
Your Name
3d26aa0dfb
Prompt regress (will not pass yet).
2026-06-25 12:40:49 +01:00
nicm
51d037e881
Major rework of prompts. The basic prompt mechanics (draw, editing, etc)
...
are now wrapped up in prompt*.c and do not depend on a client. These
functions are used to provide the original client prompt but also to
allow panes to have their own prompts, which works much much better for
floating panes. The mode prompts for both the tree modes and copy mode
are switched over to be per pane.
There are some visible changes (some of these may be changed if they
don't seem to be working well):
- Prompts in modes now appear in the bottom line, covering whatever
content was there.
- command-prompt has a -P flag to open a pane prompt.
- Because they cover the content, the default style for prompts in modes
now does not fill the entire line; the main command prompt stays the
same.
- The old completion menu has gone, and completions are now shown after
the text. Builtin aliases are no longer completed.
- Clicking the mouse on the prompt now moves the cursor or selects a
completion.
2026-06-25 11:39:11 +00:00
Nicholas Marriott
e5fb88fb85
Merge pull request #5273 from daneofmanythings/floating-geometry-regression-test
...
test(master): Added regression test for floating pane geometry.
2026-06-25 10:23:01 +01:00
Thomas Adam
787234eff4
Merge branch 'obsd-master'
2026-06-24 23:00:06 +01:00
nicm
6b1219b370
Ignore mouse when help is open.
2026-06-24 21:47:06 +00:00
Thomas Adam
ed48555bdd
Merge branch 'obsd-master'
2026-06-24 22:30:06 +01:00
nicm
ba9faae8b6
Free modes rather than going through reset when pane is destroyed as the
...
reset path may try to destroy the pane again.
2026-06-24 21:10:05 +00:00
Dane Jensen
6935dee976
Added regression test for floating pane geometry and how it interacts
...
with pane borders.
2026-06-24 13:48:17 -07:00
Thomas Adam
12473bb6d3
Merge branch 'obsd-master'
2026-06-24 12:15:06 +01:00
nicm
280a962328
Replace two-value prompt_mode enum with a flag.
2026-06-24 11:05:58 +00:00
nicm
37633ff957
Add some enums for prompt return values to make them a bit less confusing.
2026-06-24 10:55:39 +00:00
Thomas Adam
1c2fc8c3c4
Merge branch 'obsd-master'
2026-06-24 10:15:06 +01:00
Thomas Adam
d3adecd819
Merge branch 'obsd-master'
2026-06-24 10:00:06 +01:00
nicm
0a71af41be
Handle different borders in move-pane, from Dane Jensen.
2026-06-24 08:52:15 +00:00
nicm
8fb484da37
Remove target completion which never worked very well, leave only
...
command completion.
2026-06-24 08:35:46 +00:00
Nicholas Marriott
6e6a434a2d
Remove no longer needed test bits.
2026-06-24 09:24:18 +01:00
Thomas Adam
f23ea9e977
Merge branch 'obsd-master'
2026-06-24 01:15:06 +01:00
nicm
55cfdbaa3f
Remove fuzzy match operator again for now, this will be done differently.
2026-06-23 23:53:06 +00:00
nicm
1b5a07a740
Rename prompt-input to match the usual format names.
2026-06-23 23:52:39 +00:00
Thomas Adam
00b0af7021
Merge branch 'obsd-master'
2026-06-23 22:15:06 +01:00
nicm
89027bd22c
Fix MOVE flag handling and remove key code (not actually needed).
2026-06-23 21:00:20 +00:00
Thomas Adam
ff8de1a106
Merge branch 'obsd-master'
2026-06-23 22:00:05 +01:00
nicm
0c5e6770df
Turn off preview if no draw callback and add a function to move to top.
2026-06-23 20:30:10 +00:00
Thomas Adam
c2ad33a04c
Merge branch 'obsd-master'
2026-06-23 21:15:06 +01:00
nicm
c0a5e10313
Use flags for input callback instead of a single int done so the
...
callback can be told about cursor movement in an incremental prompt.
2026-06-23 20:07:58 +00:00
Nicholas Marriott
1c394b8606
Tweak the test.
2026-06-23 20:31:42 +01:00
Nicholas Marriott
505d557fbb
Fix SIXEL, from Marc Haesen.
2026-06-23 15:48:02 +01:00
Thomas Adam
a63e429d22
Merge branch 'obsd-master'
2026-06-23 13:00:09 +01:00
nicm
de086f9848
Fix an infinite loop in customize mode when a filter does not match, and
...
tweak a tmux.1 example.
2026-06-23 11:29:27 +00:00
Thomas Adam
6643acb375
Merge branch 'obsd-master'
2026-06-23 11:00:09 +01:00
Thomas Adam
c25cb107bb
Merge branch 'obsd-master'
2026-06-23 10:30:05 +01:00
nicm
9dba08ac8b
Allow -p more than 100%, and account for borders when sizing new panes.
...
From Dane Jensen.
2026-06-23 09:29:26 +00:00
nicm
3ec115115d
Do not leak error message, use it instead. From Dane Jensen.
2026-06-23 09:13:30 +00:00
Thomas Adam
09c91b8931
Merge branch 'obsd-master'
2026-06-23 10:00:05 +01:00
Nicholas Marriott
de1940065a
Update test.
2026-06-23 10:01:01 +01:00
nicm
748ef8b2ae
Extend match to do multiple terms.
2026-06-23 08:35:28 +00:00
Thomas Adam
2ecf0a9053
Merge branch 'obsd-master'
2026-06-23 09:30:05 +01:00
nicm
b82048eb18
Add c key to clear filter.
2026-06-23 08:20:15 +00:00
Nicholas Marriott
9d58ff97fe
Update format test.
2026-06-23 09:14:13 +01:00
Nicholas Marriott
51b787e449
Fix SIXEL build.
2026-06-23 09:06:43 +01:00
Nicholas Marriott
7654b518f1
Add to .gitignore.
2026-06-23 08:36:07 +01:00
nicm
e7f414416f
Set check callback for menus so they aren't overwritten by sync.
2026-06-23 08:35:09 +01:00
Thomas Adam
52877c9af1
Merge branch 'obsd-master'
2026-06-23 07:35:51 +01:00
nicm
265f22be49
Make cursor movement exit incremental prompt (more like emacs).
2026-06-22 19:43:22 +00:00
nicm
2a26c738bd
Add z modifier to m operator for fuzzy match.
2026-06-22 19:39:01 +00:00
nicm
02b37b3c69
Fix scrollbar pad to work even if not set in style.
2026-06-22 13:57:33 +00:00
nicm
d8370864f3
Memory leak from someone in GitHub issue 5259.
2026-06-22 12:39:56 +00:00
Nicholas Marriott
ffe48f00e3
Tests for screen-redraw.c (not all passing right now).
2026-06-22 12:09:44 +01:00
nicm
49dff83a00
Set check callback for menus so they aren't overwritten by sync.
2026-06-22 10:17:08 +00:00
nicm
95afd7549c
Rewrite screen-redraw.c to make it tidier and more maintainable. A scene
...
is generated and cached in the client: it holds positions and sizes of
panes, borders and so on. The scene is invalidated when a pane is moved
or resized or relevant option is changed. This scene is then drawn to
the client as needed and text and colours are filled in. With Michael
Grant.
2026-06-22 08:47:45 +00:00
Thomas Adam
06ee890db3
Merge branch 'obsd-master'
2026-06-22 09:30:06 +01:00
nicm
e680420c89
Place floating cells meaningfully into the layouts, from Dane Jensen.
2026-06-22 08:10:16 +00:00
Thomas Adam
357ee692bd
Merge branch 'obsd-master'
2026-06-21 19:00:05 +01:00
nicm
347baa6f3e
Do not walk off end or beginning of menu item list if every item is
...
disabled, GitHub issue 5255 from aizumusheer2 at gmail dot com.
2026-06-21 17:43:47 +00:00
Thomas Adam
cc922de758
Merge branch 'obsd-master'
2026-06-20 10:15:05 +01:00
Thomas Adam
dbca906ef5
Merge branch 'obsd-master'
2026-06-20 10:00:05 +01:00
nicm
1fc4dcb76f
Error if key is unknown rather than just carry on, GitHub issue 5248.
2026-06-20 08:51:28 +00:00
nicm
dcd7d1c8e6
Fix {} keys in tmux.1, pointed out by tb.
2026-06-20 08:46:08 +00:00
Thomas Adam
72e768ef14
Merge branch 'obsd-master'
2026-06-19 20:00:06 +01:00
nicm
047f61aad6
popup_write can be deleted now also.
2026-06-19 18:41:36 +00:00
nicm
d04b1ffca5
Use a floating pane for the buffer mode editor instead of a popup.
2026-06-19 18:37:10 +00:00
nicm
c93e2f2332
Do not loop forever if a pane ends up with borders the wrong way round.
2026-06-19 18:28:18 +00:00
Thomas Adam
e7c29d0ceb
Merge branch 'obsd-master'
2026-06-19 19:00:05 +01:00
nicm
6c46358be8
Draw help directly instead of using a popup.
2026-06-19 17:37:26 +00:00
Thomas Adam
b0ff8af9ac
Merge branch 'obsd-master'
2026-06-19 17:30:05 +01:00
nicm
624db256c6
Add a loop_index variable and use it to show last used 5 sessions on the
...
session menu instead of next/previous.
2026-06-19 16:25:43 +00:00
Thomas Adam
cfb15d158e
Merge branch 'obsd-master'
2026-06-19 17:15:05 +01:00
Thomas Adam
34c7881ddd
Merge branch 'obsd-master'
2026-06-19 17:00:05 +01:00
nicm
f06d930445
Correctly report theme changes to panes, based on a fix from someone in
...
GitHub issue 5246.
2026-06-19 16:00:03 +00:00
nicm
b29f5688bd
Make default M-C-Up/Down bound to prompt movement commands in copy mode.
2026-06-19 15:28:26 +00:00
Thomas Adam
333e2f266a
Merge branch 'obsd-master'
2026-06-19 12:00:07 +01:00
Nicholas Marriott
af94399473
Add some more bits to test.
2026-06-19 11:50:29 +01:00
Nicholas Marriott
3d35f26031
Add a test for tty_draw_line.
2026-06-19 11:43:43 +01:00
nicm
b1c72ec48c
Use a helper and skip some setup for empty cells.
2026-06-19 10:38:29 +00:00
Thomas Adam
8dee34459b
Merge branch 'obsd-master'
2026-06-19 11:15:06 +01:00
nicm
e7f649e40a
Tidy up a bit in tty_draw_line.
2026-06-19 09:56:53 +00:00
Thomas Adam
5843fbc6ee
Merge branch 'obsd-master'
2026-06-19 09:30:06 +01:00
Nicholas Marriott
c8eca3a69d
Add command-alias.sh test, from tanushnry at gmail dot com.
2026-06-19 09:29:41 +01:00
Nicholas Marriott
12fdcea8b8
Get use of raster attributes in the right order, from aizumusheer2 at gmail dot
...
com in GitHub issue 5225.
2026-06-19 09:24:48 +01:00
nicm
035447b08f
Do not dereference the current window if it is NULL (can be if the
...
notification fires after session is destroyed). GitHub issue 5244 from
Ben Maurer.
2026-06-19 08:21:55 +00:00
Thomas Adam
55b2e748e7
Merge branch 'obsd-master'
2026-06-18 13:15:05 +01:00
Thomas Adam
3246331876
Merge branch 'obsd-master'
2026-06-18 13:00:05 +01:00
Nicholas Marriott
6d9fbb0e97
Update regress for format changes.
2026-06-18 12:55:13 +01:00
nicm
14fc4a06a6
Unescape arguments before passing to format_expand1 so that escaping :s
...
etc actually works.
2026-06-18 11:54:37 +00:00
nicm
cba4ba9cdc
Check time periodically in loops rather than every one.
2026-06-18 11:45:08 +00:00
Thomas Adam
937d99150c
Merge branch 'obsd-master'
2026-06-18 12:15:05 +01:00
nicm
0a6c846091
Use evbuffer for building S, W, L lists, also add an xmemdup helper
...
instead of misusing asprintf.
2026-06-18 10:56:22 +00:00
Thomas Adam
c6b8ad6e7e
Merge branch 'obsd-master'
2026-06-18 11:15:07 +01:00
nicm
d92a479d2f
Add a dim= style attribute to dim the colours (as best as tmux is able
...
to). GitHub issue 4842.
2026-06-18 09:59:55 +00:00
Thomas Adam
f242182840
Merge branch 'obsd-master'
2026-06-18 10:30:05 +01:00
Thomas Adam
f5871369cc
Merge branch 'obsd-master'
2026-06-18 10:15:06 +01:00
nicm
b1b184cdb8
Add functions to work out cell neighbours, and to remove a tiled cell.
...
From Dane Jensen.
2026-06-18 09:11:24 +00:00
nicm
1a6de01210
Check the panes again if deferred redraw to make sure the flag is always
...
set. Also add a helper for the loop.
2026-06-18 08:56:07 +00:00
Thomas Adam
1dd2589a42
Merge branch 'obsd-master'
2026-06-17 14:30:05 +01:00
nicm
3485e1c089
Tidy up server_client_check_redraw. Get rid of the bitmask tracking
...
panes which want redraw for deferred clients - if they are deferred then
they can just have a full redraw instead. Also return earlier if no
redraw is actually needed, and improve the comments.
2026-06-17 13:22:48 +00:00
Thomas Adam
6f7965e4f1
Merge branch 'obsd-master'
2026-06-17 14:00:05 +01:00
nicm
1ba8fa6f04
Fix shifts to 1ULL and check scrollbar even if pane is not being redrawn.
2026-06-17 12:32:54 +00:00
Thomas Adam
6eb67fcc5f
Merge branch 'obsd-master'
2026-06-17 09:15:05 +01:00
nicm
3b8e25fef4
Initialize wname so it we are not freeing garbage if it is not used.
2026-06-17 09:11:00 +01:00
nicm
64e83caf04
Be more strict about what names and titles we allow and reject them
...
immediately when possible, but allow # again for those directly set by
commands (but not escape sequences). From Barrett Ruth in GitHub issue
5175.
2026-06-17 09:10:55 +01:00
Thomas Adam
a8abea8247
Merge branch 'obsd-master'
2026-06-17 09:00:07 +01:00
nicm
d4defd943a
Add -M to move-pane and default bindings for M-drag. From Michael Grant.
2026-06-17 07:52:21 +00:00
nicm
eafd2bed5d
FIx a couple of minor errors in use of layout_cell_is_tiled.
2026-06-17 07:43:55 +00:00
Thomas Adam
6549765930
Makefile: add window-visible.c
2026-06-16 12:55:41 +01:00
Thomas Adam
6cb2233cd2
Merge branch 'obsd-master'
2026-06-16 12:55:00 +01:00
nicm
9ad75e1dc3
Rename the visible ranges functions since they really relate to windows
...
and put them nto a new file.
2026-06-16 10:47:35 +00:00
nicm
762e503978
Allow rectangle selection to extend past end of current line to behave
...
the same as vi with virtualedit=block set. From Mark Kelly in GitHub
issue 5227.
2026-06-16 11:11:47 +01:00
Thomas Adam
bec0f7d975
Merge branch 'obsd-master'
2026-06-16 11:00:05 +01:00
nicm
4b772fd783
Allow rectangle selection to extend past end of current line to behave
...
the same as vi with virtualedit=block set. From Mark Kelly in GitHub
issue 5227.
2026-06-16 09:28:17 +00:00
Nicholas Marriott
c809aea278
Fix a merge problem.
2026-06-16 10:24:06 +01:00
Nicholas Marriott
1596f9c9f5
Bump version again.
2026-06-16 10:22:51 +01:00
nicm
2f28d9a168
Fix resizing floating pane with a left scrollbar, from Michael Grant.
2026-06-16 10:22:12 +01:00
Nicholas Marriott
baac29debc
Prefer libtinfow if it is available, GitHub issue 5224 from Lars Wendler.
2026-06-16 10:21:12 +01:00
nicm
2c4df765c5
Fix missing border when drawing floating panes. From Michael Grant.
2026-06-16 10:21:09 +01:00
Thomas Adam
1d026b921c
Merge branch 'obsd-master'
2026-06-16 10:15:14 +01:00
nicm
fcbb6a7384
Initialize wname so it we are not freeing garbage if it is not used.
2026-06-16 09:00:25 +00:00
nicm
bdc01f44de
Fix resizing floating pane with a left scrollbar, from Michael Grant.
2026-06-16 08:57:07 +00:00
nicm
d2c23773ff
Fix missing border when drawing floating panes. From Michael Grant.
2026-06-16 08:53:14 +00:00
Nicholas Marriott
38dc3ec0da
Prefer libtinfow if it is available, GitHub issue 5224 from Lars Wendler.
2026-06-16 09:48:04 +01:00
Thomas Adam
c03acc9572
Merge branch 'obsd-master'
2026-06-16 08:15:07 +01:00
nicm
30e133d36a
Fix default window check in break-pane, from Dane Jensen.
2026-06-16 07:07:49 +00:00
nicm
0890df5891
Add layout_cell_is_tiled and layout_cell_has_tiled_child helper
...
functions, from Dane Jensen.
2026-06-16 07:06:32 +00:00
Thomas Adam
d223a49d18
Merge branch 'obsd-master'
2026-06-16 06:15:05 +01:00
jsg
26285e183e
botton -> bottom
2026-06-16 05:01:56 +00:00
Thomas Adam
408e9f1481
Merge branch 'obsd-master'
2026-06-15 23:00:06 +01:00
Nicholas Marriott
7c8344930b
Add a test for names.
2026-06-15 22:47:39 +01:00
nicm
482e254a49
Rename window_pane_visible to match other functions, from Dane Jensen.
2026-06-15 21:47:01 +00:00
nicm
eb65331403
Be more strict about what names and titles we allow and reject them
...
immediately when possible, but allow # again for those directly set by
commands (but not escape sequences). From Barrett Ruth in GitHub issue
5175.
2026-06-15 21:41:39 +00:00
Thomas Adam
9031f59f7b
Merge branch 'obsd-master'
2026-06-15 19:00:06 +01:00
nicm
2d9afa6348
Use correct x position when drawing clipped line.
2026-06-15 18:39:43 +01:00
nicm
bae5c14941
Tidy up screen_redraw_get_visible_ranges by using a couple of
...
temporaries for start and end of range.
2026-06-15 18:39:28 +01:00
nicm
9cf8de099c
Convert cursor position back to pane coordinates for tty_cmd_cell.
2026-06-15 18:39:23 +01:00
nicm
b86bd1fcd0
Add pane-border-lines none like popups (-B to new-pane).
2026-06-15 17:34:25 +00:00
Thomas Adam
c156e597dc
Merge branch 'obsd-master'
2026-06-15 16:15:07 +01:00
nicm
bb750b07bc
If the client is blocked, defer the redraw because it may end up
...
partially discarded leading to redraw artifacts.
2026-06-15 15:05:12 +00:00
nicm
0e6fe5a097
Convert cursor position back to pane coordinates for tty_cmd_cell.
2026-06-15 14:56:30 +00:00
Thomas Adam
13de7cafb2
Merge branch 'obsd-master'
2026-06-15 13:30:08 +01:00
nicm
057b688fc7
Tidy up screen_redraw_get_visible_ranges by using a couple of
...
temporaries for start and end of range.
2026-06-15 12:07:49 +00:00
Thomas Adam
45bb3e7ffc
Merge branch 'obsd-master'
2026-06-15 13:00:05 +01:00
nicm
8ced9c332c
Use correct x position when drawing clipped line.
2026-06-15 11:45:51 +00:00
Thomas Adam
9fcd5ce03d
Merge branch 'obsd-master'
2026-06-15 10:30:05 +01:00
nicm
a41e6e2ed2
Add -B to new-pane to select the floating pane border.
2026-06-15 09:21:40 +00:00
Thomas Adam
e54855ef88
Merge branch 'obsd-master'
2026-06-15 09:30:05 +01:00
nicm
7a18fa281d
Add top-floating and bottom-floating to pane-border-status to show
...
status line only on floating panes.
2026-06-15 08:16:05 +00:00
nicm
f98aaf544d
When redrawing a whole pane line, fall into tty_draw_line for any
...
characters that are not plain ASCII. Fixes redraw issues with partial
tabs and other wide characters when a pane is partly outside the window.
2026-06-15 09:07:23 +01:00
nicm
78afc24736
Fix various errors in redrawing:
...
- Fix the active pane colour when only two panes and scrollbars enabled.
- Clip left and right scrollbars the same for floating panes.
- Do not subtract scrollbar width twice when working out width of status
line.
- Check if a character is inside a visible range correctly (do not
include the next position outside the range).
2026-06-15 09:06:58 +01:00
nicm
83e4534387
Skip floating panes when working out the top or bottom cell. Fixes
...
missing bottom status pane status line when floating panes exist.
2026-06-15 09:06:55 +01:00
Thomas Adam
aed9018807
Merge branch 'obsd-master'
2026-06-15 09:00:05 +01:00
nicm
97b5f22a70
When redrawing a whole pane line, fall into tty_draw_line for any
...
characters that are not plain ASCII. Fixes redraw issues with partial
tabs and other wide characters when a pane is partly outside the window.
2026-06-15 07:40:45 +00:00
Thomas Adam
748dab2f38
Merge branch 'obsd-master'
2026-06-14 22:15:05 +01:00
Thomas Adam
3c11129b04
Merge branch 'obsd-master'
2026-06-14 22:00:05 +01:00
nicm
6e0e343f23
Fix various errors in redrawing:
...
- Fix the active pane colour when only two panes and scrollbars enabled.
- Clip left and right scrollbars the same for floating panes.
- Do not subtract scrollbar width twice when working out width of status
line.
- Check if a character is inside a visible range correctly (do not
include the next position outside the range).
2026-06-14 20:53:20 +00:00
nicm
cc27470cb6
Skip floating panes when working out the top or bottom cell. Fixes
...
missing bottom status pane status line when floating panes exist.
2026-06-14 20:37:57 +00:00
Thomas Adam
fb527fa7db
Merge branch 'obsd-master'
2026-06-14 21:00:05 +01:00
nicm
87976aa48e
Add a helper to get pane-border-status for a window for some other
...
changes to come.
2026-06-14 19:31:37 +00:00
Thomas Adam
863923472a
Merge branch 'obsd-master'
2026-06-14 20:15:07 +01:00
nicm
778a15b64a
Take account of borders when resizing floating panes.
2026-06-14 18:59:15 +00:00
Thomas Adam
5eaf5570c4
Merge branch 'obsd-master'
2026-06-14 10:00:06 +01:00
Nicholas Marriott
cbe0f1f1e9
Another const from Jere Viikari.
2026-06-14 09:50:50 +01:00
nicm
97472e374f
Return early if connect construct cell, reported by Jere Viikari.
2026-06-14 08:47:44 +00:00
Thomas Adam
7a28aa0dd7
Merge branch 'obsd-master'
2026-06-13 22:00:06 +01:00
nicm
b1054ac227
With mode-keys vi, keep cursor in the same position relative to the text
...
when scrolling. GitHub issue 5216 from Arseniy Simonov.
2026-06-13 20:39:11 +00:00
Thomas Adam
1618b98533
Merge branch 'obsd-master'
2026-06-13 21:15:06 +01:00
nicm
5b6ed54817
Add some missing const, from Jere Viikari.
2026-06-13 20:07:30 +00:00
nicm
d23a2b7e97
Skip floating cells when moving to previous cell for resize of tiled cells.
2026-06-13 20:03:10 +00:00
nicm
ab92b27226
Make the resize keys always change right and bottom borders for floating
...
panes which is more intuitive.
2026-06-13 19:57:44 +00:00
Thomas Adam
eb6efdf17a
Merge branch 'obsd-master'
2026-06-13 20:00:06 +01:00
nicm
b182791052
Tidy up error messages from split-window.
2026-06-13 18:30:16 +00:00
Thomas Adam
97a7f174ce
Merge branch 'obsd-master'
2026-06-13 19:15:06 +01:00
nicm
654758e622
Add move-pane -z to move a pane to a particular the z-index.
2026-06-13 18:06:01 +00:00
Thomas Adam
c8887a5846
Merge branch 'obsd-master'
2026-06-13 19:00:06 +01:00
nicm
56779f9542
Add Z index positions to move-pane -P.
2026-06-13 17:43:20 +00:00
Thomas Adam
f474838e22
Merge branch 'obsd-master'
2026-06-13 18:30:06 +01:00
nicm
19393e13db
Add -P to move-pane to move a floating pane to a specific place
...
(top-left, bottom-right). Get rid of the not-so-useful default { and }
swap-pane bindings and use the keys instead for moving to top-left,
top-right and add M-{ and M-} for bottom-left, bottom-right.
2026-06-13 17:12:02 +00:00
Thomas Adam
301b10de8d
Merge branch 'obsd-master'
2026-06-13 17:30:06 +01:00
nicm
aa2fd3a151
Add flags to move-pane to move floating panes around (-U, -D, -L, -R
...
similar to resize-pane; -X, -Y similar to new-pane).
2026-06-13 16:16:18 +00:00
Thomas Adam
2dd604949f
Merge branch 'obsd-master'
2026-06-13 14:15:06 +01:00
nicm
ec481ac82a
Missed this one as well.
2026-06-13 13:07:12 +00:00
nicm
7afee45635
Use correct name for activity time.
2026-06-13 13:06:12 +00:00
Thomas Adam
385d18590a
Merge branch 'obsd-master'
2026-06-13 13:00:06 +01:00
nicm
bc9252f6e3
Remove some stray code from an old floating panes implementation, from
...
Dane Jensen.
2026-06-13 11:37:46 +00:00
Thomas Adam
6c76f2a7c7
Merge branch 'obsd-master'
2026-06-13 12:00:06 +01:00
nicm
bf187170b1
Extend client mode so the preview can be changed to a view with a
...
summary of the client terminal and its features, intended to make
troubleshooting easier. "choose-client -i" or the "i" key in the mode.
2026-06-13 10:32:54 +00:00
Thomas Adam
14837e8e0f
Merge branch 'obsd-master'
2026-06-13 10:30:06 +01:00
nicm
b44cdf1006
Add an I format modifier to get some bits of information about a client
...
(terminal features, capabilities and environment).
2026-06-13 09:17:29 +00:00
Thomas Adam
5d73f90133
Merge branch 'obsd-master'
2026-06-13 10:15:06 +01:00
nicm
34a6a9d3a1
Change relative time for now to only work in the past and not show a
...
sign which is more useful. Also tidy up some minor style nits.
2026-06-13 08:59:52 +00:00
Thomas Adam
f92a4e611b
Merge branch 'obsd-master'
2026-06-12 14:30:06 +01:00
jsg
b3deb9ec86
fix tty_draw_line() indentation; ok nicm@
2026-06-12 13:16:36 +00:00
nicm
dabaae1534
Make buffer creation time sort oldest first like it used to, but change
...
windows to match sessions and panes as newest first.
2026-06-12 10:19:05 +01:00
Nicholas Marriott
a92653f2b2
base -> bash from tanushnry at gmail dot com.
2026-06-12 10:18:44 +01:00
Thomas Adam
29cdab650b
Merge branch 'obsd-master'
2026-06-12 00:15:06 +01:00
nicm
574a4eccb5
Make buffer creation time sort oldest first like it used to, but change
...
windows to match sessions and panes as newest first.
2026-06-11 23:01:31 +00:00
Thomas Adam
42c0641daf
Merge branch 'obsd-master'
2026-06-11 21:15:06 +01:00
nicm
11b6e7844a
When MODE_SYNC is on, all terminal updates need to deferred, not just
...
scrolling. Check the flag before each one. GitHub issue 4983.
2026-06-11 19:50:23 +00:00
Thomas Adam
f1b67152af
Merge branch 'obsd-master'
2026-06-11 20:30:06 +01:00
nicm
b6be437bab
Change send-keys -K to insert keys in the right place in the queue, like
...
we already do for key bindings. GitHub issue 3476.
2026-06-11 19:13:34 +00:00
Thomas Adam
3d7f421809
Merge branch 'obsd-master'
2026-06-11 15:30:06 +01:00
nicm
fa6d33f742
Add a helper to free the list of pending resizes.
2026-06-11 14:19:59 +00:00
Thomas Adam
dc22196394
Merge branch 'obsd-master'
2026-06-11 11:30:06 +01:00
nicm
3ea458b9dc
Add support for floating panes to resize-pane, from Dane Jensen.
2026-06-11 10:16:19 +00:00
Thomas Adam
86128a7f06
Merge branch 'obsd-master'
2026-06-11 09:15:09 +01:00
nicm
de60750506
Hide Swap Marked also since floating panes cannot be swapped yet.
2026-06-11 07:52:17 +00:00
Thomas Adam
f07ac3068b
Merge branch 'obsd-master'
2026-06-10 20:00:06 +01:00
nicm
7ec94fda08
Make list-keys only use a message if -1 is given, otherwise behave like
...
other commands (stdout or mode).
2026-06-10 18:32:33 +00:00
Thomas Adam
9231c80cd8
Merge branch 'obsd-master'
2026-06-10 17:15:07 +01:00
nicm
4702e58ee5
Fix text to refer to status-keys not mode-keys, GitHub issue 5191.
2026-06-10 16:08:03 +00:00
nicm
2719549cf2
Rename new-pane -B to -W since -B is best kept to match -B to
...
display-popup.
2026-06-10 16:03:14 +00:00
Thomas Adam
cd26f29fb8
Merge branch 'obsd-master'
2026-06-10 16:15:11 +01:00
Thomas Adam
9c350af582
Merge branch 'obsd-master'
2026-06-10 16:00:11 +01:00
nicm
c019b3dad9
Use correct size when calculating status line right trim. GitHub issue
...
5098 from Aung Myo Kyaw.
2026-06-10 14:51:20 +00:00
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
Thomas Adam
7ad8b3366d
Merge branch 'obsd-master'
2026-06-10 15:15:08 +01: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
Nicholas Marriott
f415a70c0b
Merge two SIXEL blocks.
2026-06-10 14:17:10 +01:00
Thomas Adam
da31d94c2a
Merge branch 'obsd-master'
2026-06-10 08:50:17 +01: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
Thomas Adam
490802099d
Merge branch 'obsd-master'
2026-06-09 14:15:07 +01: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
Thomas Adam
27111bd76d
Merge branch 'obsd-master'
2026-06-09 13:30:06 +01: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
cc87db74c7
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 13:20:14 +01:00
Thomas Adam
4ec7e66e90
Merge branch 'obsd-master'
2026-06-09 13:15:06 +01: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
Thomas Adam
2179c3e420
Merge branch 'obsd-master'
2026-06-09 10:30:06 +01: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
Nicholas Marriott
aa1f0653e9
Bump version to 3.7-rc2.
2026-06-09 09:47:18 +01:00
Thomas Adam
97156f3382
Merge branch 'obsd-master'
2026-06-09 09:30:06 +01:00
nicm
8771b6051f
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-09 09:12:21 +01:00
nicm
27c58c764d
Do not use NULL arguments, bug spotted by Dane Jensen.
2026-06-09 08:11:53 +00:00
Thomas Adam
1564584ba9
Merge branch 'obsd-master'
2026-06-09 00:15:06 +01: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
Thomas Adam
6f683da2e9
Merge branch 'obsd-master'
2026-06-08 23:00:06 +01: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
Thomas Adam
d7a6a8e35b
Merge branch 'obsd-master'
2026-06-08 22:30:06 +01:00
nicm
bf2e078ecf
Add a relative time option for time formatting, GitHub issue 5009.
2026-06-08 21:19:52 +00:00
Thomas Adam
a25ce36925
Merge branch 'obsd-master'
2026-06-08 22:15:06 +01: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
Thomas Adam
7d8c1ae295
Merge branch 'obsd-master'
2026-06-08 22:00:07 +01: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
Nicholas Marriott
bbd4768bb6
3.7-rc version.
2026-06-08 21:08:37 +01:00
Thomas Adam
cb237b5193
Merge branch 'obsd-master'
2026-06-08 16:30:06 +01: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
Thomas Adam
a04c33c42d
Merge branch 'obsd-master'
2026-06-07 21:15:06 +01: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
Thomas Adam
e1d37c37b5
Merge branch 'obsd-master'
2026-06-07 17:30:06 +01: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
Nicholas Marriott
bbea0ef439
Update copy mode vi test, from Max Vim.
2026-06-07 17:22:14 +01:00
Nicholas Marriott
a134c43f4d
Update test result.
2026-06-07 16:15:32 +01:00
Nicholas Marriott
e0ebae4481
Fix a couple of tests and add -f/dev/null to them all.
2026-06-07 16:11:38 +01:00
Thomas Adam
1fbc51b69f
Merge branch 'obsd-master'
2026-06-07 16:00:06 +01:00
nicm
42f3e7f7ce
Clear entire lines when removing from history or freeing.
2026-06-07 14:41:27 +00:00
Thomas Adam
e163cbacec
Merge branch 'obsd-master'
2026-06-07 15:30:06 +01:00
Nicholas Marriott
0ec6870902
Add to CHANGES.
2026-06-07 15:24:53 +01:00
Thomas Adam
55421ede70
Merge branch 'obsd-master'
2026-06-07 15:15:06 +01:00
nicm
3acd247f5d
Redraw entire session when making a new pane.
2026-06-07 14:11:20 +00:00
Thomas Adam
59151704b4
Merge branch 'obsd-master'
2026-06-07 15:00:06 +01: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
Thomas Adam
72f5415fc8
Merge branch 'obsd-master'
2026-06-07 14:30:06 +01: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
Nicholas Marriott
3d9e6bf454
Update CHANGES for 3.7.
2026-06-07 12:01:09 +01:00
Thomas Adam
0fc6cb4099
Merge branch 'obsd-master'
2026-06-07 11:15:06 +01: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
Thomas Adam
54be05e5e4
Merge branch 'obsd-master'
2026-06-07 09:30:06 +01: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
Thomas Adam
8388c53a47
Merge branch 'obsd-master'
2026-06-06 19:00:06 +01: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
Thomas Adam
f9a683cf39
Merge branch 'obsd-master'
2026-06-05 09:15:07 +01: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
Thomas Adam
f43adc364a
Merge branch 'obsd-master'
2026-06-04 10:45:09 +01:00
nicm
6beebbe074
Fix scrollbar drag position when window is taller than tty, from Michael
...
Grant.
2026-06-04 09:24:03 +00:00
Thomas Adam
019f8eb278
Merge branch 'obsd-master'
2026-06-03 21:30:06 +01: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
Thomas Adam
cfeade6055
Merge branch 'obsd-master'
2026-06-02 21:00:06 +01:00
nicm
390207cdf1
Use new layout functions for join-pane also, from Dane Jensen.
2026-06-02 19:31:36 +00:00
Thomas Adam
c97b2b95e6
Merge branch 'obsd-master'
2026-06-02 20:30:06 +01:00
nicm
a3bf632276
Move cell creation into layout.c, from Dane Jensen.
2026-06-02 19:25:06 +00:00
Thomas Adam
5368ee32dd
github: update lock-threads to v6
...
Use the latest release of lock-threads.
2026-06-02 16:26:13 +01:00
Thomas Adam
e89f02bd8f
Merge branch 'obsd-master'
2026-06-02 09:30:06 +01: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
Thomas Adam
0759030ee8
Merge branch 'obsd-master'
2026-06-02 08:30:06 +01: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
Thomas Adam
97ac32f536
Merge branch 'obsd-master'
2026-06-01 21:30:06 +01:00
Thomas Adam
2f3ef88dbf
Merge branch 'obsd-master'
2026-06-01 21:15:06 +01: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
Thomas Adam
0eff3b6b97
Merge branch 'obsd-master'
2026-06-01 19:30:06 +01:00
nicm
f6557d1ea2
Add a Z sort order in tree mode.
2026-06-01 18:19:51 +00:00
Thomas Adam
718eb2b4cc
Merge branch 'obsd-master'
2026-06-01 19:15:06 +01:00
nicm
cd6c01e42b
Mark floating panes in tree mode.
2026-06-01 18:00:20 +00:00
Thomas Adam
0b773dd792
Merge branch 'obsd-master'
2026-06-01 15:15:06 +01:00
nicm
b68ab3a4b4
Add pane_x, y, z format variables and show in list-panes.
2026-06-01 14:01:09 +00:00
Thomas Adam
d8c9f88fe7
Merge branch 'obsd-master'
2026-06-01 15:00:06 +01:00
Nicholas Marriott
f6398ba51c
Add some more DECRQM responses, from Ayman Bagabas in GitHub issue 5118.
2026-06-01 14:30:33 +01:00
nicm
67dbf01eeb
Add some more DECRQM responses, from Ayman Bagabas in GitHub issue 5118.
2026-06-01 13:28:49 +00:00
Thomas Adam
7c71064b64
Merge branch 'obsd-master'
2026-06-01 12:15:06 +01:00
nicm
4d91ff8d8d
Do not try to use pane if there isn't one when redrawing wide characters,
...
GitHub issues 5145 and 5139.
2026-06-01 10:53:28 +00:00
Thomas Adam
e778f7f805
Merge branch 'obsd-master'
2026-06-01 09:45:06 +01:00
nicm
3bff7a9e62
Allow run-shell arguments after a shell command to be expanded as #1 , #2
...
and so on. From Rasmus Thystrup Karstensen in GitHub issue 5121.
2026-06-01 08:27:37 +00:00
Thomas Adam
705c2ac55a
Merge branch 'obsd-master'
2026-05-31 23:00:06 +01:00
Thomas Adam
3f3d65e452
Merge branch 'obsd-master'
2026-05-31 22:30:06 +01:00
nicm
a9721ea268
Only draw visible parts of numbers for display-panes.
2026-05-31 21:29:41 +00:00
nicm
d876bb8cf3
When pane-border-indicators is set to "both" or "arrows", only draw
...
arrows on the active floating pane and no other floating panes. Also
there is no need to loop in screen_redraw_cell_border if only checking
one pane.
2026-05-31 21:08:23 +00:00
Thomas Adam
b17dcc6773
Merge branch 'obsd-master'
2026-05-31 22:00:06 +01:00
nicm
e3ee2b327b
Move back to starting position when pane is outside the window at all.
2026-05-31 20:41:07 +00:00
Thomas Adam
74b91d6dec
Merge branch 'obsd-master'
2026-05-30 17:45:06 +01:00
nicm
7a3b7ae812
Return empty ranges if line is below window.
2026-05-30 16:10:13 +00:00
Thomas Adam
35df67c893
Merge branch 'obsd-master'
2026-05-30 12:30:06 +01:00
nicm
290303e64f
Missed this file from previous.
2026-05-30 11:20:03 +00:00
nicm
f8ab7a5158
Handle ranges for panes which are outside the window to the left.
2026-05-30 11:19:39 +00:00
Thomas Adam
decaaf4b55
Merge branch 'obsd-master'
2026-05-30 11:15:06 +01:00
nicm
b9d228c72f
Do not crash when a pane offset is negative.
2026-05-30 09:48:30 +00:00
Thomas Adam
11e48c3fa9
Merge branch 'obsd-master'
2026-05-30 10:15:06 +01:00
nicm
c40302a7ff
Check if the range is invalid using start,end rather than length since
...
it will never be negative.
2026-05-30 08:58:29 +00:00
Thomas Adam
964e22cfef
Merge branch 'obsd-master'
2026-05-29 17:15:06 +01:00
nicm
55db69e3b2
Correct offsets for redrawing entire line here too.
2026-05-29 15:51:03 +00:00
Thomas Adam
99b08ecde5
Merge branch 'obsd-master'
2026-05-29 09:15:06 +01:00
nicm
4ecf93487e
Use correct X position for redrawing wide characters.
2026-05-29 07:49:01 +00:00
Nicholas Marriott
f066933418
Uninstall the man page too.
2026-05-28 15:20:04 +01:00
Thomas Adam
481d8299ca
Merge branch 'obsd-master'
2026-05-28 12:45:06 +01:00
nicm
3b19536df9
Swap panes on z-index list as well.
2026-05-28 11:17:35 +00:00
Thomas Adam
2212157b61
Merge branch 'obsd-master'
2026-05-28 12:00:07 +01:00
nicm
7ebeed1ae7
Do not try to use last pane if there isn't one.
2026-05-28 10:45:17 +00:00
nicm
7769097915
Hide menu options that do not work for floating panes.
2026-05-28 10:34:38 +00:00
Thomas Adam
595b0cb471
Merge branch 'obsd-master'
2026-05-28 10:00:08 +01:00
nicm
c50c3629e6
Use the correct ranges when a pane is covered by a popup in tty_draw_pane.
2026-05-28 08:43:57 +00:00
Thomas Adam
887b6f4da7
Merge branch 'obsd-master'
2026-05-28 09:15:07 +01:00
nicm
9c6cfcd2e9
Obscured check should not be true if pane is same size as window.
2026-05-28 07:58:45 +00:00
Thomas Adam
658c7d1dbf
Merge branch 'obsd-master'
2026-05-28 08:45:08 +01:00
nicm
ecfe6e4e7a
Check visible ranges for collected cell output.
2026-05-28 07:23:52 +00:00
Thomas Adam
f53c4e7525
Merge branch 'obsd-master'
2026-05-27 22:15:06 +01:00
Nicholas Marriott
3690c64e88
Use -g -ggdb for debug.
2026-05-27 22:07:57 +01:00
Thomas Adam
c489f786b6
Merge branch 'obsd-master'
2026-05-27 22:00:06 +01:00
nicm
5c40cc43b2
Bring in the single-cell redraw parts for floating panes.
2026-05-27 20:57:53 +00:00
nicm
54ae850322
Do not adjust end position when removing partial padding, it does not
...
change.
2026-05-27 20:47:23 +00:00
Thomas Adam
a9b9d2f6d3
Merge branch 'obsd-master'
2026-05-27 21:00:08 +01:00
nicm
f00f92e7e3
Check visible ranges when copying screens.
2026-05-27 19:43:46 +00:00
nicm
bbe26df83d
Add an accessor function needed for floating panes.
2026-05-27 19:36:04 +00:00
Thomas Adam
daf9988b3a
Merge branch 'obsd-master'
2026-05-27 20:15:06 +01:00
nicm
ee67452772
Add window-pane-status-format options and adjust the default second
...
status line to show panes, also change how window-style is checked now
it is a pane option.
2026-05-27 18:57:10 +00:00
Thomas Adam
781364f7f9
Merge branch 'obsd-master'
2026-05-27 17:45:06 +01:00
nicm
84d016ddcf
Floating panes clearing bits.
2026-05-27 16:25:01 +00:00
Nicholas Marriott
0241fdac1a
Remove extra declaration.
2026-05-27 16:52:09 +01:00
Thomas Adam
d62bae442b
Merge branch 'obsd-master'
2026-05-27 16:46:04 +01:00
nicm
9cc8947a43
Cache border and active border style separately, fixes problem reported
...
by Marcel Partap in GitHub issue 5125.
2026-05-27 13:41:20 +00:00
nicm
bff68fa079
Remove reference to an option that hasn't been added yet.
2026-05-27 12:52:47 +00:00
nicm
00c59041ea
Bring in some more floating panes changes - obscured panes need to be
...
handled specially in screen_write_* rather than dropping into the client
redraw (tty.c).
2026-05-27 11:54:28 +00:00
Thomas Adam
a77b81f0e5
Merge branch 'obsd-master'
2026-05-27 08:15:06 +01:00
jsg
f839588c69
fix sort_get_clients() indentation; ok nicm@
2026-05-27 07:05:20 +00:00
nicm
27d719cd4d
Check error result correctly (*cause not cause), pointed out by jsg.
2026-05-27 07:01:36 +00:00
Thomas Adam
7a15dc6772
Merge branch 'obsd-master'
2026-05-25 16:15:06 +01:00
nicm
bfd7f468ce
pane_zoomed_flag went missing somewhere in tmux.1, put it back.
2026-05-25 14:53:09 +00:00
Thomas Adam
cca1e77f95
Merge branch 'obsd-master'
2026-05-25 09:15:07 +01:00
nicm
cc81287665
More of floating panes redraw path, still mostly using flags which are never set.
2026-05-25 08:07:48 +00:00
nicm
ca95153b45
Preserve flags when creating new cells, from Brian Youngs.
2026-05-25 07:55:46 +00:00
Nicholas Marriott
eb330a6df6
Restore SIXEL bit.
2026-05-24 10:05:41 +01:00
Thomas Adam
b498979d4d
Merge branch 'obsd-master'
2026-05-24 10:00:06 +01:00
nicm
f047b3f8e7
Do not crash when freeing layout cell, reported by Jere Viikari.
2026-05-24 08:40:43 +00:00
Thomas Adam
c67787536b
Merge branch 'obsd-master'
2026-05-23 18:00:06 +01:00
nicm
3cfc96d4de
Add missing argument to %unlinked-window-renamed, reported by Andrew
...
Grangaard.
2026-05-23 16:43:04 +00:00
Thomas Adam
91a8c66537
Merge branch 'obsd-master'
2026-05-23 08:45:06 +01:00
nicm
5c3a4746b7
Some code tidying up.
2026-05-23 07:22:50 +00:00
Nicholas Marriott
b8e0004ff2
Fix missing arguments.
2026-05-22 18:33:04 +01:00
Thomas Adam
4e0aabd8a7
Merge branch 'obsd-master'
2026-05-22 16:54:06 +01:00
nicm
143a177055
Tighten up read-only checks on attach-session, detach-client and
...
switch-client so that a user should be able to only detach their own
client. Reported by John Walker.
2026-05-22 15:22:43 +00:00
nicm
d45a9cad8c
Work out if a pane is obscured by another one when drawing.
2026-05-22 11:55:43 +00:00
Nicholas Marriott
285a3b7522
Fix up SIXEL with recent changes.
2026-05-22 12:44:08 +01:00
Thomas Adam
d4255818c4
Merge branch 'obsd-master'
2026-05-22 12:01:06 +01:00
Thomas Adam
f714f3ee78
Merge branch 'obsd-master'
2026-05-22 10:28:51 +01:00
nicm
36bc351557
Use a union for the data passed around in tty_ctx instead of void *.
2026-05-22 09:21:32 +00:00
nicm
d5ee330d20
Tidy up a load of different flags and special values in the tty_ctx into
...
a single bitmask.
2026-05-22 09:05:16 +00:00
Thomas Adam
634e9d6213
Merge branch 'obsd-master'
2026-05-21 12:01:06 +01:00
nicm
9aa9a92f72
Pane resizing code for floating panes, mostly by Michael Grant.
2026-05-21 07:28:51 +00:00
Nicholas Marriott
8c51c0fdbd
Merge tag '3.6b'
...
3.6b
2026-05-20 12:53:07 +01:00
Thomas Adam
24e4a545a2
Merge branch 'obsd-master'
2026-05-20 12:19:23 +01:00
Nicholas Marriott
c5fb5e8bb0
Update CHANGES.
2026-05-20 12:17:30 +01:00
Nicholas Marriott
b8434182c9
Track which list (images or saved_images) each image is on so they can be
...
removed from the correct list when the total image count is reached. Fixes
crash reported by xlabai at tencent dot com.
2026-05-20 12:15:34 +01:00
Nicholas Marriott
e1f942f26a
Add a define for max images and bump to 20 for the moment.
2026-05-20 12:14:22 +01:00
Thomas Adam
91b85efabb
Merge branch 'obsd-master'
2026-05-20 12:01:06 +01:00
nicm
0057905ca0
Increase escape delay if the buffer contains a partial paste end, fixes
...
issues with at least Windows Terminal. From jing dot empty at gmail.com
GitHub issue 5088.
2026-05-20 10:56:46 +00:00
nicm
572e26deb8
Some more trivial floating panes bits.
2026-05-20 08:54:40 +00:00
Thomas Adam
caff9a135f
Merge branch 'obsd-master'
2026-05-20 08:47:44 +01:00
nicm
ce24b92758
Floating panes full redraw code, by Michael Grant.
2026-05-19 13:12:45 +00:00
nicm
f5a086ac98
Some more easy floating panes bits.
2026-05-19 12:16:25 +00:00
Thomas Adam
cb1025e0e8
Merge branch 'obsd-master'
2026-05-19 12:25:31 +01:00
nicm
a46cdb8bbc
More (currently disabled) bits for creating floating panes, from Michael
...
Grant and Dane Jensen.
2026-05-19 10:26:03 +00:00
nicm
34e2035bad
More bits for pane Z index tracking from floating panes, mostly by
...
Michael Grant.
2026-05-19 09:48:14 +00:00
Thomas Adam
a9ba7b8ecb
Merge branch 'obsd-master'
2026-05-18 09:38:02 +01:00
nicm
962d647993
Remove some leftover debug code.
2026-05-17 16:02:33 +00:00
nicm
a8520ba59e
Bring over some of layout and positioning code for floating panes, by
...
Michael Grant.
2026-05-17 16:01:42 +00:00
nicm
f12d7b4e67
When mode-keys is set to vi, do not allow the cursor to go into the
...
invisible extra cell to the right of the visible text. This is closer to
what vi(1) does. From Max Vim in GitHub issue 5070.
2026-05-17 13:12:21 +00:00
nicm
bbea6e6375
Add a five second limit on pasting for terminals which mysteriously lose
...
the end sequence if the paste is too big (that is, Terminal.app).
Reported by Garri Djavadyan in GitHub issue 4527.
2026-05-17 13:01:04 +00:00
nicm
b24b8424b1
Switch to use backing grid not copy mode's grid for copy line, GitHub
...
issue 4995.
2026-05-17 12:38:04 +00:00
nicm
35bd1a4c02
Do not include unattached clients on sorted list, fixes crash reported
...
by Marcel Partap.
2026-05-17 11:17:16 +00:00
nicm
818352c3cd
Add some more explanatory text about targets, GitHub issue 4850.
2026-05-17 11:12:07 +00:00
nicm
742efe989f
Report file open errors more sensibly, reported by Meriel Luna
...
Mittelbach in GitHub issue 5081.
2026-05-17 10:54:01 +00:00
nicm
4cea1c7189
Add new-pane command, currently this is equivalent to split-window but
...
it will have minor differences for floating panes in future. Also add
-R/-s/-S/-k/-m flags to control border and style and behaviour, like
popups. GitHub issue 5027 from Dane Jensen.
2026-05-17 10:44:53 +00:00
Nicholas Marriott
18ddda48d2
More.
2026-05-16 12:18:41 +01:00
Nicholas Marriott
5651519f5d
Try to make Copilot shut up.
2026-05-16 12:07:09 +01:00
nicm
281e8ff766
Fix a couple of bugs in tty_draw_line: do not loop forever if orphan
...
padding appears, or if a wide character is trimmed at the right of the
region. Much help with testing from qingliu at alauda dot io in GitHub
issue 5024.
2026-05-13 13:12:23 +00:00
nicm
dbc0710bc9
Update supported features for Foot, from Meriel Luna Mittelbach in
...
GutHub issue 5079.
2026-05-13 10:24:57 +00:00
nicm
8f28f31b78
Do not crash if set progress bar with no pane, from Dane Jensen.
2026-05-13 08:25:05 +00:00
Thomas Adam
3f651d9fa9
Merge branch 'obsd-master'
2026-05-12 16:01:08 +01:00
nicm
18fced7e7f
Make pane offsets signed, needed for floating panes.
2026-05-12 12:05:41 +00:00
Thomas Adam
f1f0158741
Merge branch 'obsd-master'
2026-05-12 12:01:11 +01:00
nicm
3d6c542e34
Turn off the "is this a paste" guessing if the terminal supports bracket
...
pasting instead, GitHub issue 5031.
2026-05-12 10:28:09 +00:00
Nicholas Marriott
c3036116de
Update test output.
2026-05-12 10:38:29 +01:00
nicm
9e3653a612
Check FIONREAD for all panes not just piped panes, fixes issues with
...
tests, GitHub issue 4807.
2026-05-12 09:37:25 +00:00
nicm
27a00d1bfd
Fix infinite loop due to underflow when redrawing scrollbar, from Pavel
...
Lavrukhin in GitHub issue 4932.
2026-05-12 09:32:49 +00:00
nicm
800837ff3f
Fix control mode teardown ordering for queued pane output, GitHub issue
...
5064 from Aaron Campbell.
2026-05-12 09:27:28 +00:00
Nicholas Marriott
bfbfb6dbf3
Avoid overshooting Sixel height in sixel_parse_write, GitHub issue 5071 from
...
nincsnevem662 at gmail dot com.
2026-05-11 12:00:06 +01:00
Thomas Adam
8fb1b1d412
Merge branch 'obsd-master'
2026-05-08 12:01:09 +01:00
nicm
af98467d0d
Do not cache format for status line because it stores various pointers
...
that might be stale, instead cache the cmd_find_state and rebuild the
formats every time they are needed. Reported by Marcel Partap in GitHub
isue 5065.
2026-05-08 06:57:38 +00:00
Thomas Adam
f9d50d580c
Merge branch 'obsd-master'
2026-05-07 12:01:08 +01:00
nicm
496805476e
Require layout prefix to be 5 characters, GitHub issue 5067 from
...
cglosner at gmail dot com.
2026-05-07 09:21:05 +00:00
nicm
962e565591
Add Emacs-style recentre-top-bottom, GitHub issue 5053 from sinyax75 at
...
gmail dot com.
2026-05-07 09:15:44 +00:00
Thomas Adam
862625a4bf
Merge branch 'obsd-master'
2026-05-06 16:01:09 +01:00
nicm
2d8aade74b
Add time limit to a couple of other loops.
2026-05-06 13:43:38 +00:00
Nicholas Marriott
2aad2cfc53
Add a configure flag for ASAN.
2026-05-06 08:23:45 +01:00
Thomas Adam
ad94405dac
Merge branch 'obsd-master'
2026-05-05 16:01:08 +01:00
nicm
518fcf7e03
Do not sanitize title when popping it from stack, also add a limit to
...
number of pushed titles.
2026-05-05 13:18:46 +00:00
nicm
1fbd00e1e8
Add missing flags to screen_mode_to_string and do not write before
...
before if any are missed, second bit from qingliu at alauda dot io.
2026-05-05 12:06:52 +00:00
nicm
cae229cadc
Discard queued data and clear offsets when turning pane off to prevent
...
later read of data that has been removed. From Aaron Campbell in GitHub
issue 5054.
2026-05-05 12:02:12 +00:00
Thomas Adam
9d3dcdbc38
Merge branch 'obsd-master'
2026-05-03 20:01:09 +01:00
nicm
d52fabce72
Allow the indicator in tree mode to be customized by two new options:
...
tree-mode-preview-format and tree-mode-preview-style.
2026-05-03 15:02:48 +00:00
nicm
637d4c3083
Fix control client hang on exit after toggling no-output, GitHub issue
...
5049 from Aaron Campbell.
2026-05-03 15:01:21 +00:00
nicm
1e96d9a87f
Do not check for NULL after dereferencing, from alexarama at yahoo dot
...
com in GitHub issue 5051.
2026-05-03 14:57:09 +00:00
nicm
49172b256c
Free working stuff when R formats fail.
2026-05-03 14:55:43 +00:00
Thomas Adam
9a94f48663
Merge branch 'obsd-master'
2026-05-01 16:01:09 +01:00
nicm
2e9c6c2586
Add some checks on line size to avoid underflow, from san65384 at gmail
...
dot com in GitHub issue 4955.
2026-05-01 11:56:41 +00:00
Thomas Adam
92522473b0
Merge branch 'obsd-master'
2026-05-01 12:01:08 +01:00
nicm
56200ca044
Do not leak cached last result from control subs, from Aaron Campbell in
...
GitHub issue 5047.
2026-05-01 09:59:42 +00:00
nicm
524f283cc6
Add support for line numbers in copy mode. A new copy-mode-line-numbers
...
option has the following modes: off, default (tmux's normal line
numbering where 0 is the top visible line), absolute (first line in
history is 1), relative (relative to the cursor) and hybrid (current
line is absolute, others relative). Also adds
copy-mode-line-number-style and copy-mode-current-line-number-style to
set the style of the line numbers. When copy mode is entered with the
mouse, line numbers stay off.
From Leo Henon in GitHub issue 5025.
2026-05-01 09:44:42 +00:00
nicm
a2acf0f7cf
Check time inside repeat (R:) loop as well.
2026-05-01 09:34:05 +00:00
Thomas Adam
d85f1b942d
Merge branch 'obsd-master'
2026-04-28 16:01:08 +01:00
Thomas Adam
8da41bdc2b
Merge branch 'obsd-master'
2026-04-28 12:01:08 +01:00
nicm
4a926e489b
Make C-[ have the same bindings as Escape for terminals with extended
...
keys where they are different, GitHub issue 5035 from Eric NICOLAS.
2026-04-28 10:01:07 +00:00
nicm
746dd91e86
Sanitize paste buffer names in paste_set and paste_rename, GitHub issue
...
5032 from Barrett Ruth.
2026-04-28 08:52:37 +00:00
nicm
763dec881a
Do not leak socketpair fds in pipe-pane when fork fails. From Barrett
...
Ruth.
2026-04-28 08:47:55 +00:00
nicm
2a5715fad5
Do not deref NULL job in window_copy_pipe_run when job_run fails. From
...
Barrett Ruth in GitHub issue 5036.
2026-04-28 08:35:21 +00:00
nicm
ec58272b95
Do not hang run-shell when job_run fails, from Barrett Ruth in GitHub
...
issue 5037.
2026-04-28 08:34:15 +00:00
nicm
f90d3af403
Fix -p for for join-pane, from Dane Jensen.
2026-04-28 08:32:44 +00:00
Thomas Adam
c2659401b0
Merge branch 'obsd-master'
2026-04-27 16:01:09 +01:00
nicm
9840d4a4a3
Add a limit on maximum length of environment variable assignment in
...
configuration files.
2026-04-27 12:31:11 +00:00
Nicholas Marriott
fc6d94a9f8
Track which list (images or saved_images) each image is on so they can be
...
removed from the correct list when the total image count is reached. Fixes
crash reported by xlabai at tencent dot com.
2026-04-27 13:09:07 +01:00
Nicholas Marriott
61a7be0eab
Turn off regular expressions when fuzzing because there are cases that take too
...
much time or memory that cannot be fixed.
2026-04-26 21:19:16 +01:00
Thomas Adam
e4a439aa0c
Merge branch 'obsd-master'
2026-04-26 21:12:23 +01:00
nicm
b844cafb9c
No need to stravis the window name twice.
2026-04-24 10:08:52 +00:00
nicm
1d9522a7a6
Kill client rather than fatalx on bad file handling messages, reported
...
by Tim Zheng.
2026-04-23 12:36:15 +00:00
nicm
ffe80579df
Redraw correctly when a popup is present above pane borders, GitHub
...
issue 4997 from Manuel Einfalt.
2026-04-23 11:29:23 +00:00
Thomas Adam
bcd17cf99a
Merge branch 'obsd-master'
2026-04-23 11:58:17 +01:00
nicm
bc15723f7f
Add feature for progress bar and pass to outside terminal, GitHu issue
...
4972 from Eric Dorland.
2026-04-22 07:25:17 +00:00
nicm
7a0cc03532
Translate keypad keys to text in prompt input. From Barrett Ruth in
...
GitHub issue 4996.
2026-04-22 07:15:34 +00:00
nicm
d36f6783c7
Add a couple of controls (kill, zoom) to default pane-status-format.
...
Will be more to come with floating panes. From Dane Jensen in GitHub
issue 4981.
2026-04-22 07:13:26 +00:00
nicm
d339ab51eb
Sanitize pane titles and window and session names more consistently and
...
strictly, prevents C0 characters and other nonvisible characters causing
problems. Reported (with a different fix) by Chris Monardo in GitHub
issue 4999.
2026-04-22 07:10:16 +00:00
nicm
fee70031f6
Make clock visible on terminals without colours, from Manuel Einfalt in
...
GitHub issue 5001.
2026-04-22 07:05:59 +00:00
nicm
303edb71bd
Add a fairly low time limit to format evaluation to stop absurdly nested
...
formats from making tmux appear to hang.
2026-04-22 07:05:03 +00:00
nicm
314f0ae964
Do not leak hyperlinks in copy mode, from Barrett Ruth in GitHub issue
...
5020.
2026-04-22 07:03:06 +00:00
nicm
0835980ef1
Remove no longer accurate statement from tmux.1, reported by dkuettel at
...
gmail dot com.
2026-04-22 06:58:59 +00:00
nicm
baf55e4616
Add a default set of features for WezTerm.
2026-04-22 06:57:08 +00:00
Nicholas Marriott
dd62c2f946
Do not need to create a new window each time for input-keys.sh test.
2026-04-15 16:21:35 +01:00
Thomas Adam
638cecf43c
Merge branch 'obsd-master'
2026-04-14 16:01:08 +01:00
nicm
a97cfe513d
Do not leak old time format if it is replaced in same format.
2026-04-14 11:25:41 +00:00
Thomas Adam
9de3c0495f
Merge branch 'obsd-master'
2026-04-14 12:01:08 +01:00
nicm
67e6f8245b
If job_run fails, do not crash but instead free the popup.
2026-04-14 08:39:10 +00:00
nicm
31c93c483a
Another check for partially initialized control client, from Matt
...
Koscica in GitHub issue 5004.
2026-04-14 08:32:30 +00:00
nicm
86d4d5689c
Add detach to default session menu, suggested by Przemyslaw Sztoch.
2026-04-14 07:35:17 +00:00
nicm
663e82bc19
Fix key binding conflict in session menu, from Dane Jensen.
2026-04-14 07:28:57 +00:00
nicm
51109e3f72
Include window bits for pane notifications, GitHub issue 5007 from Saul
...
Nogueras.
2026-04-14 07:26:45 +00:00
nicm
a11363e9e7
Limit precision to 100 to stop silly formats from running out of memory,
...
reported by z1281552865 at gmail dot com.
2026-04-14 07:24:23 +00:00
nicm
cc57913d7a
Add WAYLAND_DISPLAY to default update-environment, GitHub issue 4965 from
...
wgh at torlan dot ru.
2026-04-14 07:16:02 +00:00
Thomas Adam
057d169492
Merge branch 'obsd-master'
2026-04-13 12:01:08 +01:00
nicm
e5a2a25faf
Do not notify clients if not fully initialized, from Ben Maurer in
...
GitHub issue 4980.
2026-04-13 09:35:20 +00:00
nicm
147521b757
Add -C flag to command-prompt to match display-message -C (do not freeze
...
panes). From Barrett Ruth in GitHub issue 4978.
2026-04-13 09:33:09 +00:00
Thomas Adam
31d77e29b6
Merge branch 'obsd-master'
2026-04-05 20:01:08 +01:00
nicm
4b0ff07bcb
When a cell is cleared after having been moved, we cannot reuse its
...
extended data, because that may still be in use. Add a flag to
grid_clear_cell to indicate this. Fixes irritating problems with ICH
(CSI @) mostly visible in emacs.
2026-04-05 15:43:17 +00:00
Thomas Adam
0ee18d4421
Merge branch 'obsd-master'
2026-04-05 16:01:08 +01:00
nicm
21da45e5c3
Add extkeys feature to tmux itself so nested tmux works, GitHub issue 4960.
2026-04-05 14:29:04 +00:00
nicm
d5ed967f58
Set less crazy limits (than INT_MAX) for pad and trim, makes ossfuzz happier.
2026-04-05 13:24:02 +00:00
Thomas Adam
42dafcc62a
Merge branch 'obsd-master'
2026-04-04 20:01:11 +01:00
nicm
cad282ebb7
Cache user from getpwuid because it can be very expensive on some
...
platforms. From Ben Maurer in GitHub issue 4973.
2026-04-04 17:13:07 +00:00
nicm
7f2ac9c871
Add remain-on-exit key to keep pane around until a key is pressed, from
...
Michael Grant.
2026-04-04 17:00:33 +00:00
nicm
87aaff5fae
Bring some new formats from the floating panes work: pane_zoomed_flag,
...
pane_flags, pane_floating_flag. By Michael Grant.
2026-04-04 16:40:27 +00:00
Thomas Adam
b411010237
Merge branch 'obsd-master'
2026-04-04 16:01:09 +01:00
nicm
d2d86ac360
Document control ranges, from Dane Jensen.
2026-04-04 11:48:00 +00:00
nicm
a827725a8d
Set up default and last cell before clearing padding, reported by
...
someone on GitHub.
2026-04-04 11:39:49 +00:00
nicm
3badbc50e0
Do not read off end of buffer if it ends in \ when expanding \c, found
...
by ossfuzz.
2026-04-04 11:32:05 +00:00
nicm
cd60de443e
Clamp width to terminal width, also change calculation of end of screen
...
(it is OK to be outside the screen). Fixes problem reported by Dane
Jensen in GitHub issue 4969.
2026-04-04 11:20:01 +00:00
Nicholas Marriott
95e40115a2
Don't just resize buffer once, repeat until it is big enough. Also use
...
reallocarray. Reported by tuannguyenduc228 at gmail dot com.
2026-04-04 12:11:25 +01:00
Thomas Adam
66c324d7ef
Merge branch 'obsd-master'
2026-04-03 16:01:08 +01:00
nicm
6b056eb53f
Add some new mouse ranges called "control0" to "control9", will be used
...
for controls on floating panes, from Dane Jensen, with some bits from
Michael Grant.
2026-04-03 10:13:20 +00:00
Thomas Adam
8cfdcf9a6f
Merge branch 'obsd-master'
2026-04-03 11:04:15 +01:00
nicm
0917cd7010
Missed a line from previous.
2026-04-03 09:18:24 +00:00
nicm
bdd78ce38e
Handle OSC 9;4 progress bar sequence and store in format variables, from
...
Eric Dorland in GitHub issue 4954.
2026-04-03 09:14:27 +00:00
nicm
7497db6e37
Increase b64_pton buffer to allow for Base64 without padding, from
...
Michal Majchrowicz.
2026-04-03 08:23:10 +00:00
Thomas Adam
43e2942fa0
Merge branch 'obsd-master'
2026-04-02 16:01:08 +01:00
Thomas Adam
51bc2f3b76
Merge branch 'obsd-master'
2026-04-02 12:01:08 +01:00
nicm
483683c197
Do not leak command in list-keys, reported by tb@. Also tidy up some
...
function names while here.
2026-04-02 09:58:14 +00:00
nicm
c95d341220
Do not leak trimmed string when expanding, found by ossfuzz.
2026-04-02 09:35:46 +00:00
nicm
be2c6f3b5e
Use INT_MIN + 1 as strtonum lower limits in formats so -ve works, found
...
by ossfuzz.
2026-04-02 09:28:22 +00:00
nicm
2d5736f297
Limit argc to between 0 and 1000 to prevent fatal from MSG_COMMAND, from
...
Michal Majchrowicz.
2026-04-02 09:11:39 +00:00
nicm
1a51193899
Handle empty regular expression in substitution, found by ossfuzz.
2026-04-02 08:45:35 +00:00
nicm
8b51abef08
Check for \0 after skipping # not before in format_expand1, from ossfuzz.
2026-04-02 08:37:14 +00:00
nicm
cbb49e8c84
Fix NULL dereference in sort.c, from Dane Jensen.
2026-04-02 08:01:47 +00:00
Thomas Adam
dc12da4573
Merge branch 'obsd-master'
2026-04-01 12:01:08 +01:00
nicm
7af58f74b0
Fixed missing drag end detection and mouse button detection with
...
modifiers. From Dane Jensen, reported by Joseph Tyson and Mark Kelly.
2026-04-01 08:10:02 +00:00
Thomas Adam
1081876810
Merge branch 'obsd-master'
2026-03-31 16:01:08 +01:00
nicm
2ff0dd3fef
Reorganize structure of key_code so that it can be built directly by
...
bitshifts rather than a load of huge switches, from Dane Jensen in
GitHub issue 4953.
2026-03-31 11:46:43 +00:00
Thomas Adam
a30fc69f86
Merge branch 'obsd-master'
2026-03-30 12:01:08 +01:00
nicm
022b5cf193
When in copy mode with a large scroll offset and the window is resized
...
so that history shrinks, data->oy can exceed screen_hsize causing an
unsigned integer underflow in the py computation. Clamp data->oy in
window_copy_resize and window_copy_cmd_refresh_from_pane before the
subtraction. From futpib at gmail dot com in GitHub issue 4958.
2026-03-30 09:23:40 +00:00
Nicholas Marriott
7620c03b72
Add new fuzzers for command parsing, formats and styles, from David Korczynski
...
in GitHub issue 4957.
2026-03-30 10:20:16 +01:00
Thomas Adam
6324dae114
Merge branch 'obsd-master'
2026-03-27 12:01:10 +00:00
nicm
e0237c6b8c
Ql -> Fl, from arza at arza dot us in GitHub issue 4949.
2026-03-27 08:41:54 +00:00
nicm
1cf3e02bfb
Add a format flag for bracket paste, from George Nachman in GitHub issue
...
4951.
2026-03-27 08:40:26 +00:00
Thomas Adam
6ca5405db9
Merge branch 'obsd-master'
2026-03-25 12:01:07 +00:00
Nicholas Marriott
fa31f2a3eb
Do not really need both.
2026-03-25 10:39:03 +00:00
Nicholas Marriott
d03f9454b9
Make COPYING the same.
2026-03-25 10:38:03 +00:00
Nicholas Marriott
616fb1cbcf
Add a LICENSE file to see if it makes GitHub happy.
2026-03-25 10:26:15 +00:00
nicm
b7d1e6257c
Use \- for hyphens in tmux.1 to cause newer groff versions to render
...
them correctly (ASCII hyphen rather than Unicode) which aids copy and
paste. From Keith Thompson in GitHub issue 4948.
2026-03-25 10:08:50 +00:00
Thomas Adam
b101ffaed6
Merge branch 'obsd-master'
2026-03-23 12:01:10 +00:00
nicm
f7dad4f38f
Check lastgc is not NULL before using it, GitHub issue 4935 from Pavel
...
Lavrukhin.
2026-03-23 09:05:59 +00:00
nicm
b88c08f860
Fix a NULL dereference and use after free, GitHub issue 4936 from Pavel
...
Lavrukhin.
2026-03-23 09:03:43 +00:00
Nicholas Marriott
cc47f4d1c2
Use window options for cursor-style to avoid crash when no pane, from
...
Arden Packeer in GitHub issue 4942.
2026-03-23 09:00:42 +00:00
nicm
3909d7e92f
Use window options for cursor-style to avoid crash when no pane, from
...
Arden Packeer in GitHub issue 4942.
2026-03-23 08:58:39 +00:00
nicm
d70edfa0a0
Fix issue where popup window gets overwritten by background updates,
...
from Conor Taylor in GitHub issue 4920.
2026-03-23 08:48:32 +00:00
nicm
d22ab85b84
Protect against overflow when scrollbar is off screen, from san65384 at
...
gmail dot com in GitHub issue 4933.
2026-03-23 08:45:30 +00:00
Thomas Adam
5c30b145df
Merge branch 'obsd-master'
2026-03-18 12:01:09 +00:00
nicm
e446cba6a9
Copy hyperlinks when redrawing popup so they do not vanish, from Antoine
...
Gaudreau Simard in GitHub issue 4925.
2026-03-18 08:49:27 +00:00
Nicholas Marriott
8a0b4e0d8c
Work around systemd killing panes early during system shutdown by creating
...
dependencies from the panes to the service which started tmux, GitHub issue
4926 from Dmitry Torokhov.
2026-03-18 08:46:16 +00:00
nicm
02a9cdff57
Fix buffer to both for get-clipboard, from Seth Girvan.
2026-03-18 08:41:20 +00:00
nicm
f516f8a1d4
Allow codepoint-widths to accept ranges, from san65384 at gmail dot com
...
in GitHub issue 4930.
2026-03-18 08:38:54 +00:00
Thomas Adam
bef4865d91
Merge branch 'obsd-master'
2026-03-12 16:01:08 +00:00
nicm
fd62f419ac
Add a short builtin help text for each mode accessible with C-h,
...
based on code from Patrick Motard in GitHub issue 4751.
2026-03-12 12:40:40 +00:00
Thomas Adam
7fa6f320ed
Merge branch 'obsd-master'
2026-03-12 12:01:09 +00:00
nicm
19f3fb131b
Draw message as one format, allowing prompts and messages to occupy only
...
a portion of the status bar, overlaying the normal status content rather
than replacing the entire line. A new message-format option now controls
the entire message (like status-format). From Conor Taylor in GitHub
issue 4861.
2026-03-12 07:25:13 +00:00
nicm
551e8fcd24
Fix comparison of menu keys, reported by Vladimir Bauer in GitHub issue
...
4891.
2026-03-12 07:15:26 +00:00
Thomas Adam
04b4952f0e
Merge branch 'obsd-master'
2026-03-09 20:01:07 +00:00
Thomas Adam
0d77555c97
Merge branch 'obsd-master'
2026-03-09 16:01:09 +00:00
nicm
67141fb4bb
Add next/previous variables for windows in W: loop, from Conor Taylor in
...
GitHub issue 4856.
2026-03-09 15:46:01 +00:00
tb
2efa762c2b
tmux: move block assigning to prefix a bit down to avoid a small leak
...
ok nicm
2026-03-09 14:37:26 +00:00
Nicholas Marriott
6c2dd193cf
Fix memory leak in sixel_parse() on error path, from Renaud Allard in GitHub
...
issue 4916.
2026-03-09 14:34:58 +00:00
nicm
881bec958e
Fix server crash when control client session is destroyed, from Renaud
...
Allard in GitHub issue 4916.
2026-03-09 14:33:55 +00:00
nicm
8899c751e5
Check for NULL value in tilde expansion before dereferencing, from
...
Renaud Allard in GitHub issue 4916.
2026-03-09 14:31:41 +00:00
Thomas Adam
d0caf0a322
Merge branch 'obsd-master'
2026-03-06 12:01:08 +00:00
tb
91b5108eae
tmux: don't leak menu if the tty is too small to display it
...
ok nicm
2026-03-06 08:19:22 +00:00
nicm
2c7f73f9c4
Do not use recallocarray because the stored size may have changed during
...
reflow so may not match what it expects, fixes crash reported by Caspar
Schutijser.
2026-03-06 08:09:58 +00:00
Thomas Adam
5310592967
Merge branch 'obsd-master'
2026-03-06 04:01:09 +00:00
nicm
41bddae907
Fix incorrect condition for creating client name, from Vlad Apostol in
...
GitHub issue 4911.
2026-03-05 22:50:14 +00:00
Thomas Adam
d9d2b2f1ee
Merge branch 'obsd-master'
2026-03-05 12:01:09 +00:00
nicm
1e208abd93
Add pane_pipe_pid with pipe fd and call setpgid to make it easier to kill.
2026-03-05 09:22:08 +00:00
Thomas Adam
d32088b58a
Merge branch 'obsd-master'
2026-03-04 12:01:09 +00:00
nicm
6d37cc94a7
Make -c work with new-session -A, from Jody Frankowski in GitHub issue
...
4906.
2026-03-04 08:16:47 +00:00
nicm
55722a7ed7
Another memory leak, from Huihui Huang.
2026-03-04 08:15:24 +00:00
tb
d2fa20a390
tmux: use VIS_NOSLASH to avoid annoying double escaping on paste
...
from nicm
2026-03-04 07:19:32 +00:00
tb
bcbad050d4
tmux: tc can be NULL, so check before deref to avoid crashing the server
...
ok nicm
2026-03-04 07:17:01 +00:00
Thomas Adam
27698c468b
Merge branch 'obsd-master'
2026-03-03 16:01:09 +00:00
nicm
49bb43047d
Allow copy mode to work for readonly clients, except for copy commands,
...
from Dane Jensen.
2026-03-03 12:26:14 +00:00
nicm
77ce0a837d
Check window is not NULL, from Chema Gonzalez in GitHub issue 4908.
2026-03-03 12:24:18 +00:00
Thomas Adam
bbbfa8f360
Merge branch 'obsd-master'
2026-03-02 12:01:09 +00:00
Nicholas Marriott
d781d2eaa1
Add regression test from Ilya Grigoriev, GitHub issue 4818.
2026-03-02 09:32:45 +00:00
nicm
f33b14bda6
Revert r1.343 for the moment since it breaks behaviour (#() in
...
status-left) that we need to keep.
2026-03-02 08:48:57 +00:00
nicm
e603549563
Do not leak active/all strings in format_loop_windows; from Huihui Huang
...
in GitHub issue 4898.
2026-03-02 08:41:43 +00:00
nicm
e80e0c761a
Fix incorrect placement of It Xo, from Dane Jensen.
2026-03-02 08:39:44 +00:00
nicm
9e804202b6
Fix memory leak, from Emmanuel Ugwu in GitHub issue 4900.
2026-03-02 08:38:23 +00:00
Thomas Adam
0c678b1e1a
mailcap: update entry for Thomas Adam
2026-03-01 17:01:08 +00:00
Thomas Adam
4cb29deb93
Merge branch 'obsd-master'
2026-02-27 12:01:08 +00:00
nicm
5413953d30
Validate -O flags, from Dane Jensen in GitHub issue 4889.
2026-02-27 08:25:12 +00:00
nicm
50e51b4513
Fix memory leak, from Chris Lewis, reported by Huihui Huang.
2026-02-27 08:23:02 +00:00
Thomas Adam
ee0647aba6
Merge branch 'obsd-master'
2026-02-26 16:01:09 +00:00
Nicholas Marriott
35be70f1f0
Add DECRPM test from David Turnbull.
2026-02-26 11:32:15 +00:00
nicm
dbb23d2182
Do not free buffer after adding to paste (since it now owns it).
2026-02-26 11:01:48 +00:00
Nicholas Marriott
478eaea982
Update base64 compat.
2026-02-26 10:55:41 +00:00
Thomas Adam
0800e51d41
Merge branch 'obsd-master'
2026-02-26 10:18:15 +00:00
nicm
5ff385f8a9
Tweak previous to reset cursor again as well.
2026-02-25 07:59:45 +00:00
nicm
5b3c642195
Pass paste buffer through vis(3) when pasting to prevent buffers
...
containing for example the bracket end sequence causing issues. -S flag
disables. Reported by Mason Davis.
2026-02-25 07:53:41 +00:00
nicm
bd6e201926
Do not expand #() in E: and T:, from Mason Davis.
2026-02-24 18:06:41 +00:00
Nicholas Marriott
08779aa2a3
Fix breakage in fuzzer, from David Korczynski, GitHub issue 4871.
2026-02-24 08:27:59 +00:00
nicm
09bd686327
Add sorting (-O flag) and a custom format (-F) to list-keys, from Dane
...
Jensen in GitHub issue 4845.
2026-02-24 08:20:52 +00:00
nicm
9316476a73
Add commands to turn exit on scroll on, off, toggle. From xcdnlgd at
...
hotmail dot com in GitHub issue 4884.
2026-02-24 08:00:43 +00:00
nicm
00946007d8
Respond to DECRQM 2026, from David Turnbull in GitHub issue 4887.
2026-02-24 07:50:27 +00:00
Thomas Adam
bc47bc7c22
Merge branch 'obsd-master'
2026-02-23 12:01:08 +00:00
Thomas Adam
dc693601f4
Merge branch 'obsd-master'
2026-02-23 10:01:08 +00:00
nicm
f1f9c63cdb
Free history entries properly, from Huihui Huang in GitHub issue 4870.
2026-02-23 09:12:57 +00:00
nicm
0cc4f0fd76
Use buffer size for b64_pton, from someone in GitHub issue 4882.
2026-02-23 09:08:07 +00:00
nicm
0dc1b5adfb
Do not leak list on failure, reported by Huihui Huang.
2026-02-23 08:58:40 +00:00
nicm
a76e6eca6b
Another memory leak from Huihui Huang.
2026-02-23 08:54:56 +00:00
nicm
8c7278b53a
Memory leaks in cmd_display_menu, from Huihui Huang.
2026-02-23 08:50:00 +00:00
nicm
50a3b4c777
Free format on -a, reported by Huihui Huang.
2026-02-23 08:46:57 +00:00
nicm
3094ca1da5
Fix memory leaks, reported by Huihui Huang in GitHub issue 4872.
2026-02-23 08:45:27 +00:00
nicm
23ad10c849
Set cell to default when off screen to avoid crash when logging it.
2026-02-23 08:29:30 +00:00
Thomas Adam
c9fb989a31
Merge branch 'obsd-master'
2026-02-23 08:11:38 +00:00
Nicholas Marriott
8356578a54
Update tmux bash completion file link in README, from Hyun Seungmin.
2026-02-20 08:43:35 +00:00
nicm
0310404155
Reuse the same extended slot when clearing non-RGB cells as well. From
...
Michael K Darling in GitHub issue 4865.
2026-02-20 08:41:23 +00:00
nicm
03f8690f9c
Pass which clipboard is set through to the terminal, from Axel Lindskog
...
in GitHub issue 4858.
2026-02-18 09:10:31 +00:00
Thomas Adam
4cc3de4f84
Merge branch 'obsd-master'
2026-02-17 08:51:05 +00:00
nicm
fedd4440f0
Reuse extended entry when clearing RGB cell, to prevent memory growth
...
when cells are repeatedly cleared (they are only compacted when scrolled
off screen). From Michael K Darling in GitHub issue 4862.
2026-02-17 07:42:58 +00:00
nicm
55cedc24fa
Format layout change string once per window in control notify, from
...
Conor Taylor in GitHub issue 4848.
2026-02-16 08:45:38 +00:00
nicm
c9162837a0
Pull format allocation outside of loop for control subs, from Conor
...
Taylor in GitHub issue 4848.
2026-02-16 08:42:57 +00:00
nicm
f218463976
grid_peek_cell can return NULL, so check for it. From Conor Taylor in
...
GitHub issue 4848.
2026-02-16 08:02:04 +00:00
nicm
1f0c54f7ea
Initialize bufname, reported by Mark Kelly.
2026-02-15 17:43:26 +00:00
Thomas Adam
d3522c328c
Merge branch 'obsd-master'
2026-02-12 11:10:01 +00:00
nicm
7e50eb0e83
Make paste_get_top return a copy of the buffer name which is more
...
sensible and avoids a double free pointed out by DongHan Kim.
2026-02-11 08:30:37 +00:00
nicm
5b455abecc
Do not write before buffer when parsing empty clipboard or palette
...
replies, or try to allocate zero bytes with an empty clipboard sequence.
Reported by DongHan Kim.
2026-02-11 08:23:21 +00:00
nicm
7d41761e84
Fix clients_calculate_size for manual type when window is NULL. From
...
Elias Oenal in GitHub issue 4849.
2026-02-10 10:02:11 +00:00
nicm
25f6d8b1e9
Implement some obvious missing sort orders, from Dane Jensen in GitHub
...
issue 4813.
2026-02-10 09:55:53 +00:00
nicm
5a33616e65
Check for no window when updating clients, GitHub issue 4851.
2026-02-10 09:00:30 +00:00
nicm
1cf17b06ae
Batch printable output in control mode, from Conor Taylor in GitHub issue 4848.
2026-02-10 08:40:03 +00:00
nicm
aa03706ed0
Remove redundant call to tty_attributes, from Conor Taylor in GitHub
...
issue 4848.
2026-02-10 08:34:43 +00:00
nicm
d8794e2b30
Check log level before log_debug in tty_draw_line, from Conor Taylor in
...
GitHub issue 4848.
2026-02-10 08:31:45 +00:00
nicm
b7939eb266
Don't call event_add again if the event is already pending, from Conor
...
Taylor in GitHub issue 4848.
2026-02-10 08:30:21 +00:00
nicm
19b9a34c48
Only loop over clients if table actually found, from Conor Taylor in
...
GitHub issue 4848.
2026-02-10 08:28:53 +00:00
nicm
f016e08153
Fix wrong TAILQ member in input_cancel_requests from Conor Taylor in
...
GitHub issue 4848.
2026-02-10 08:27:17 +00:00
nicm
7b1c503086
Clear search counts when clearing marks in case of repeated search,
...
reported by Daniel Pereira in GitHub issue 4817.
2026-02-06 10:28:42 +00:00
nicm
5865001e4a
Also check PANE_STATUSREADY for pane_dead format to match
...
pane_dead_status. GitHub issue 4841 from Joshua Pollack.
2026-02-06 10:23:26 +00:00
nicm
62944da74b
Make OSC 52 work in popups, from gogongxt at 163 dot com in GitHub issue
...
4797.
2026-02-03 09:07:44 +00:00
nicm
588013bb44
Refresh copy mode when style changes, from Josh Cooper in GitHub issue 4830.
2026-02-03 08:53:58 +00:00
Thomas Adam
615c27c117
Merge branch 'obsd-master'
2026-02-02 19:06:25 +00:00
nicm
3c3d9ce3a9
Break sorting out into a common file so formats and modes use the same
...
code. Also add -O for sorting to the list commands. From Dane Jensen in
GitHub issue 4813.
2026-02-02 10:08:30 +00:00
nicm
66011fe48b
Do not treat cells as empty unless the background colour stays the same.
...
Fixes invisible clock in clock mode, reported by tb@.
2026-01-29 09:08:19 +00:00
Thomas Adam
d7f59eccaf
Merge branch 'obsd-master'
2026-01-28 17:25:42 +00:00
Thomas Adam
e652213855
Merge branch 'obsd-master'
2026-01-23 10:50:55 +00:00
nicm
f70150a663
Replace overlay_ranges with visible_ranges which can hold more than
...
three ranges (will be needed for floating panes); move the visible
ranges checks outside of tty_draw_line and rewrite it to fix issues with
partially-obscured wide characters. With Michael Grant.
2026-01-23 10:45:53 +00:00
Nicholas Marriott
fe52f76913
Fiddle with some more warnings.
2026-01-22 15:02:42 +00:00
Nicholas Marriott
0d9c3c895c
Stick the pragmas outside the function (make GCC 4 happier) and under __GNUC__.
2026-01-22 14:29:29 +00:00
Nicholas Marriott
6525bb7cef
Line length/style nits.
2026-01-22 14:16:39 +00:00
Michael Grant
0790e74f84
Fix strftime warning in gcc.
2026-01-22 14:11:00 +00:00
nicm
195a9cfd88
When history-limit is changed, apply to existing panes, not just new
...
ones. GitHub issue 4705.
2026-01-22 08:55:01 +00:00
nicm
ecbf8d76d0
Reevaluate menu and popup styles on each draw to allow them to change
...
when options change, from Josh Cooper in GitHub issues 4828 and 4829.
2026-01-22 07:52:24 +00:00
nicm
818745a605
Set PANE_STYLECHANGED when user options change, from Josh Cooper in
...
GitHub issue 4825.
2026-01-22 07:42:30 +00:00
nicm
26aacd0e32
Handle theme keys earlier so they are processed even if a popup is open.
...
From Josh Cooper in GitHub issue 4827.
2026-01-22 07:39:35 +00:00
nicm
8e06739e26
Fix window-size=latest not resizing on switch-client in session groups.
...
From Ilya Grigoriev in GitHub issue 4818.
2026-01-20 22:50:08 +00:00
nicm
ab1f2ef71c
Add a function to convert a screen to a string, from Michael Grant.
2026-01-20 16:32:05 +00:00
Nicholas Marriott
d2e09cb259
Add a --enable-optimizations configure flag.
2026-01-20 15:42:22 +00:00
Thomas Adam
bf8ea85bd7
Merge branch 'obsd-master'
2026-01-19 10:01:08 +00:00
nicm
9c0aeaff40
Now the copy mode indicator can be changed, we need to redraw it when
...
the cursor is moved. GitHub issue 4774.
2026-01-19 08:20:51 +00:00
Thomas Adam
95b4bb51c6
Merge branch 'obsd-master'
2026-01-14 22:01:08 +00:00
nicm
1e5f93b7b6
Add -e flag to command-prompt to close if empty, from Dane Jensen in
...
GitHub issue 4812.
2026-01-14 19:43:43 +00:00
Nicholas Marriott
b89d46bb00
Add a regression test from Ilya Grigoriev.
2026-01-13 20:29:21 +00:00
Thomas Adam
97d61131df
Merge branch 'obsd-master'
2026-01-12 10:01:08 +00:00
nicm
5721767921
Correctly draw indicators when pane-border-indicators is set to both.
...
Reported by Ilya Grigoriev in GitHub issue 4780.
2026-01-12 07:50:16 +00:00
nicm
a443531280
Remember last pane or type of location for double and triple clicks and
...
correctly handle it changes between first and second or second and
third. GitHub issue 4795 from Shaobo Song.
2026-01-12 07:48:36 +00:00
Thomas Adam
ad083677c5
Merge branch 'obsd-master'
2026-01-11 14:01:08 +00:00
nicm
426467856d
Add paste to the default pane menu, GitHub issue 4763.
2026-01-11 11:48:46 +00:00
Thomas Adam
844042744e
Merge branch 'obsd-master'
2026-01-09 18:01:07 +00:00
nicm
65b3a95be8
Removing padding needs to go through screen_write_collect_trim or there
...
may end up multiple items covering the same region.
2026-01-09 15:04:00 +00:00
Thomas Adam
ca95950148
Merge branch 'obsd-master'
2026-01-08 14:01:08 +00:00
nicm
6234d79852
Do not set manual size if no window.
2026-01-08 12:05:02 +00:00
Thomas Adam
a5d8b92012
Merge branch 'obsd-master'
2026-01-08 10:01:08 +00:00
nicm
890cfc6dc3
Copy palette responses before processing them since they are not strings.
2026-01-08 07:54:23 +00:00
Thomas Adam
0e6fc2e88b
Merge branch 'obsd-master'
2026-01-07 22:01:07 +00:00
nicm
c8ccd420be
Reduce request timeout to 500 milliseconds to match the extended
...
escape-time, and discard palette requests if receiving a reply for a
different index.
2026-01-07 20:16:32 +00:00
nicm
ff4f6b9066
Extend escape timeout if there are active forwarded requests not just
...
tmux's own requests. GitHub issue 4793.
2026-01-07 20:03:34 +00:00
Thomas Adam
7cffa2de78
Merge branch 'obsd-master'
2026-01-07 20:01:09 +00:00
nicm
e2afaaea75
Correct redrawing of wide characters when overwritten. Reported by Jake
...
Stewart in GitHub issue 4737.
2026-01-07 18:29:15 +00:00
Thomas Adam
75d3974c12
Merge branch 'obsd-master'
2026-01-07 10:01:08 +00:00
nicm
583f12ea71
Work out the default command from the queue in case it has been set from
...
the config file, GitHub issue 4791.
2026-01-07 08:16:20 +00:00
Thomas Adam
3de7a8ad8d
Merge branch 'obsd-master'
2026-01-06 22:01:07 +00:00
nicm
f6c9052082
If cannot find a terminator for palette responses, treat as a partial
...
key not complete. GitHub issue 4749.
2026-01-06 20:09:42 +00:00
nicm
f226804149
Do not send theme unless it has changed, and do not send immediately
...
when updates are enabled. GitHub issue 5787.
2026-01-06 20:05:57 +00:00
Thomas Adam
cf94486e32
Merge branch 'obsd-master'
2026-01-06 16:01:07 +00:00
nicm
035a2f35d4
Clear trimmed lines after moving, from Antony Raj in GitHub issue 4790.
2026-01-06 14:33:05 +00:00
Thomas Adam
9b7732eac4
Merge branch 'obsd-master'
2026-01-06 12:01:07 +00:00
nicm
5f9dac8abc
Do not use ;;s in list-keys output as it is confusing and cannot be
...
parsed on input, from Patrick Motard in GitHub issue 4750.
2026-01-06 10:17:29 +00:00
nicm
ccd4dd7ff2
Do not log theme if pane is NULL.
2026-01-06 09:11:15 +00:00
Thomas Adam
77417b7cbe
Merge branch 'obsd-master'
2026-01-05 10:01:08 +00:00
nicm
6a7cd79a63
Redraw pane borders when entering or leaving alternate screen, from Mike
...
Jonkmans in GitHub issue 4788.
2026-01-05 08:32:19 +00:00
nicm
baa3b51b3e
Do not use client if there isn't one, GitHub issue 4789.
2026-01-05 08:30:30 +00:00
Thomas Adam
abeba4910c
Merge branch 'obsd-master'
2026-01-04 10:01:08 +00:00
Nicholas Marriott
356d0aedbd
Remove an unused declaration (from OpenBSD, same change also sent by Mike
...
Jonkmans).
2026-01-04 08:41:38 +00:00
nicm
45f23f3a59
Minor tidying of cmd_list_print from Pavel Roskin.
2026-01-04 08:38:26 +00:00
nicm
6ef7375ade
Add some missing logging bits for themes.
2026-01-04 08:05:14 +00:00
Thomas Adam
00030aabf7
Merge branch 'obsd-master'
2025-12-25 20:01:08 +00:00
nicm
f72832cc08
Add focus-follows-mouse option, from Barry Wasdell in GitHub issue 4771.
2025-12-25 18:07:00 +00:00
nicm
b5c33ca2b7
Add selection_mode format variable for copy mode, from Mike Jonkmans in
...
GitHub issue 4773.
2025-12-25 18:05:15 +00:00
Thomas Adam
d607399850
Merge branch 'obsd-master'
2025-12-22 10:01:08 +00:00
nicm
d005803934
Add prompt-command-cursor-style, from Joshua Cooper in GitHub issue 4765.
2025-12-22 08:41:01 +00:00
nicm
a22ec275b4
With status-keys vi, move the cursor left by one when pressing Escape to
...
enter command mode, like vi. GitHub issue 4767 from Joshua Cooper.
2025-12-22 08:39:35 +00:00
nicm
188f963fe0
Add {current}/{active} for -t for current window or active pane, from
...
Manuel Einfalt in GitHub issue 4766.
2025-12-22 08:35:04 +00:00
Thomas Adam
9c5df33325
Merge branch 'obsd-master'
2025-12-19 10:01:07 +00:00
nicm
74f60951cc
Do not leak items if not using them because of synchronized update.
2025-12-19 08:46:25 +00:00
Nicholas Marriott
54202fcaad
Check image size against available screen size properly, GitHub issue 4739.
2025-12-18 13:44:17 +00:00
Nicholas Marriott
fe645c5bcc
Fix image scrolling at exact screen height, and add more logging for images.
2025-12-18 09:05:37 +00:00
Thomas Adam
86c15d7ae9
Merge branch 'obsd-master'
2025-12-17 14:01:08 +00:00
Thomas Adam
3c36d5e433
Merge branch 'obsd-master'
2025-12-17 12:01:07 +00:00
nicm
1c7e164c22
Add support for applications to use synchronized output mode (DECSET
...
2026) to prevent screen tearing during rapid updates. When an
application sends SM ?2026, tmux buffers output until RM ?2026 is received
or a 1-second timeout expires.
From Chris Lloyd with the assistance of Claude Code, GitHub issue 4744.
2025-12-17 11:49:29 +00:00
nicm
ce7eb22e3a
Do not have a default prompt cursor colour because some terminals
...
(urxvt, st) do not support the reset sequence. GitHub issue 4759.
2025-12-17 10:20:21 +00:00
Thomas Adam
739a97140f
Merge branch 'obsd-master'
2025-12-17 10:01:07 +00:00
nicm
99ed397e9c
Make clock mode seconds synchronized to the second, GitHub issue 4760
...
from Joao Pedro.
2025-12-17 08:38:12 +00:00
Thomas Adam
d2c7668bc2
Merge branch 'obsd-master'
2025-12-16 00:01:08 +00:00
nicm
7abf3e8bdf
Note that switch-client only changes the key table for one key, pointed
...
out by Jeenu Viswambharan.
2025-12-15 21:21:25 +00:00
Thomas Adam
506b4db762
Merge branch 'obsd-master'
2025-12-15 15:19:29 +00:00
bket
21c27fdcae
Simplify argument move using TAILQ_CONCAT()
...
Replace the manual loop moving each argument from cmd->arguments to
last->arguments with a single TAILQ_CONCAT() call. This makes the code
clearer and more efficient, while preserving identical behavior.
OK nicm@
2025-12-11 04:17:17 +00:00
nicm
672e89a640
Add a scroll-to-mouse command for copy mode to scroll to the mouse
...
position and bind to the scrollbar, brings the scrollbar keys into line
with the other mouse keys. From Michael Grant, GitHub issue 4731.
2025-12-10 21:24:43 +00:00
Nicholas Marriott
4b810ae493
Add a define for max images and bump to 20 for the moment.
2025-12-09 08:46:00 +00:00
nicm
52e2a7d990
Fix key code for M-BSpace, GitHub issue 4717.
2025-12-09 08:13:59 +00:00
Nicholas Marriott
2e5e9c0298
Fix calculation of scaled SIXEL size, from nincsnevem662 at gmail dot com in
...
GitHub issue 4739.
2025-12-08 21:41:30 +00:00
nicm
afa05ae15e
Use correct style for bottom line when pane status line is on, GitHub
...
issue 4732.
2025-12-08 21:32:50 +00:00
nicm
f58b8d0d6a
Setting working directory after fork means there is a race with
...
pane_current_path (especially on platforms with systemd which have to
take time to do some additional faffing around). To avoid this, change
it before fork and back in the parent afterwards. GitHub issue 4719.
2025-12-08 08:04:35 +00:00
Nicholas Marriott
5c73d3878d
FIx combine test again...
2025-12-07 22:11:45 +00:00
Nicholas Marriott
ef0a7e328c
Merge branch 'tmux-3.6a'
2025-12-05 06:20:32 +00:00
Nicholas Marriott
cc117b5048
Update CHANGES.
2025-12-05 05:39:46 +00:00
nicm
faebe7a70a
Do not read over buffer if format is a single #, and do not loop forever
...
if UTF-8 is unfinished in a format. Reported by Giorgi Kobakhia im
GitHub issue 4735.
2025-12-05 05:38:05 +00:00
nicm
01962e25dc
Allow drag in alternate screen again, GitHub issue 4743 reported by Brad
...
King.
2025-12-05 05:37:57 +00:00
nicm
ff207eb583
Fix y offset of mouse if status at top. GitHub issue 4738 from Michael
...
Grant.
2025-12-05 05:37:48 +00:00
Thomas Adam
8e922ab690
Merge branch 'obsd-master'
2025-12-05 02:01:07 +00:00
Thomas Adam
1a3db6b65e
Merge branch 'obsd-master'
2025-12-05 00:01:08 +00:00
nicm
987e05ff31
Allow drag in alternate screen again, GitHub issue 4743 reported by Brad
...
King.
2025-12-04 22:50:34 +00:00
Nicholas Marriott
2fc123cf4a
Update CHANGES.
2025-12-04 20:54:44 +00:00
nicm
3b57077d01
Add a missing skin tone, from Jake Stewart in GitHub issue 4736.
2025-12-04 20:53:01 +00:00
nicm
33c1ba1549
Allow characters to be combined in either order, reported by Jake
...
Stewart in GitHub issue 4726.
2025-12-04 20:52:55 +00:00
nicm
bd16b22dac
Do not read over buffer if format is a single #, and do not loop forever
...
if UTF-8 is unfinished in a format. Reported by Giorgi Kobakhia im
GitHub issue 4735.
2025-12-04 20:49:57 +00:00
Thomas Adam
0929d8ddfa
Merge branch 'obsd-master'
2025-12-04 16:01:08 +00:00
nicm
9d6c69ebde
Fix y offset of mouse if status at top. GitHub issue 4738 from Michael
...
Grant.
2025-12-04 14:45:32 +00:00
Thomas Adam
1bcd360dfe
Merge branch 'obsd-master'
2025-12-04 08:01:07 +00:00
nicm
1f2210a3ce
Add a missing skin tone, from Jake Stewart in GitHub issue 4736.
2025-12-04 06:04:21 +00:00
nicm
2fe1378d3a
Allow characters to be combined in either order, reported by Jake
...
Stewart in GitHub issue 4726.
2025-12-04 06:02:27 +00:00
Thomas Adam
796539c60b
Merge branch 'obsd-master'
2025-12-03 10:01:09 +00:00
Thomas Adam
700936b2ad
Merge branch 'obsd-master'
2025-12-03 08:01:07 +00:00
nicm
a28dbe3a59
Improve code readability in colour_palette_get and colour_palette_set.
...
GitHub issue 4730 from Pavel Roskin.
2025-12-03 07:41:38 +00:00
nicm
820df0f551
Add check that the pane is not in alternate screen mode when in
...
copy-mode. From Michael Grant in GitHub issue 4728.
2025-12-03 07:38:46 +00:00
nicm
ee9cf1bbaa
Fix the size caluation for left-right windows used to spread out cells
...
horizontally evenly. From Michael Grant in GitHub issue 4724.
2025-12-03 07:35:32 +00:00
Nicholas Marriott
52917abe21
Update CHANGES.
2025-12-02 14:26:30 +00:00
nicm
a40f98df0a
Change noattr to be an explicit attribute in the style so that it works
...
correctly and does not delete attributes set in the style itself, GitHub
issue 4713.
2025-12-02 14:25:05 +00:00
nicm
2c78a5aceb
Add horizontal border case to server_client_check_mouse_in_pane to fix
...
mouse resizing. GitHub issue 4720 from Michael Grant, reported by
someone in GitHub issue 4715.
2025-12-02 14:24:57 +00:00
Thomas Adam
02a8e3fd34
Merge branch 'obsd-master'
2025-12-02 10:01:08 +00:00
nicm
322adfbdde
Add a get-clipboard option which when enabled (the default is off) uses
...
the same mechanism as palette requests to request clipboard from the
terminal and forward to the requesting pane. Remove the now-redundant
forward-to-pane ability from "refresh-client -l". GitHub issue 4275.
2025-12-02 08:20:32 +00:00
Thomas Adam
194d0a0e25
Merge branch 'obsd-master'
2025-12-01 10:01:08 +00:00
Nicholas Marriott
b2d6ebaa10
Fix combine-test.result, GitHub issue 4717.
2025-12-01 08:22:12 +00:00
Nicholas Marriott
bfecbb0685
Fix combine-test.result, GitHub issue 4717.
2025-12-01 08:21:04 +00:00
nicm
e4c552f5a5
Change noattr to be an explicit attribute in the style so that it works
...
correctly and does not delete attributes set in the style itself, GitHub
issue 4713.
2025-12-01 08:14:29 +00:00
nicm
04f32073c0
Add horizontal border case to server_client_check_mouse_in_pane to fix
...
mouse resizing. GitHub issue 4720 from Michael Grant, reported by
someone in GitHub issue 4715.
2025-12-01 08:04:26 +00:00
Thomas Adam
e9afd2bb5e
Merge branch 'obsd-master'
2025-11-28 12:01:09 +00:00
nicm
55d660a548
Do not remove TERM etc for commands run from config file, reported by
...
Dennis Eriksen.
2025-11-28 09:42:48 +00:00
nicm
dfaf47d97c
session_index was never actually implemented, remove from man page.
2025-11-28 09:14:17 +00:00
Nicholas Marriott
640e1a7643
Update CHANGES.
2025-11-27 07:26:09 +00:00
nicm
2a0b078e15
Place cursor on correct line if message-line is not 0, reported by
...
Alexis Hildebrandt.
2025-11-27 07:24:50 +00:00
nicm
0af04295f3
Newer libevents do not allow event_del on a zero'd event.
2025-11-27 07:24:47 +00:00
Thomas Adam
3542bfa5b8
Merge branch 'obsd-master'
2025-11-26 22:01:08 +00:00
nicm
e3a54ed0f4
Newer libevents do not allow event_del on a zero'd event.
2025-11-26 19:02:03 +00:00
Nicholas Marriott
ec4b5b52af
Version and CHANGES.
2025-11-26 19:00:17 +00:00
nicm
a0dfef3b04
Place cursor on correct line if message-line is not 0, reported by
...
Alexis Hildebrandt.
2025-11-26 18:57:18 +00:00
Nicholas Marriott
6db6a30ab5
Need signal.h for utempter, from Yasuhiro Kimura.
2025-11-26 18:43:11 +00:00
Nicholas Marriott
bfa2f73335
Need signal.h for utempter, from Yasuhiro Kimura.
2025-11-26 10:41:17 +00:00
Nicholas Marriott
1decccace7
Update version.
2025-11-26 08:44:41 +00:00
Nicholas Marriott
ee53d49059
Merge branch 'tmux-3.6'
2025-11-26 08:44:18 +00:00
Nicholas Marriott
0dac7fe434
Add to CHANGES.
2025-11-26 08:34:33 +00:00
nicm
a6690032ad
Add seconds options for clock mode, from augustus7613 dot mail at pm dot
...
me in GitHub issue 4697.
2025-11-26 08:33:32 +00:00
Thomas Adam
f949f9a23a
Merge branch 'obsd-master'
2025-11-26 00:01:08 +00:00
Nicholas Marriott
00cef3e6be
Add to CHANGES.
2025-11-25 22:07:09 +00:00
Nicholas Marriott
3f4a8713c9
Merge branch 'master' into tmux-3.6
2025-11-25 22:06:41 +00:00
Thomas Adam
7c188aec3c
Merge branch 'obsd-master'
2025-11-25 22:01:08 +00:00
nicm
f0dec832b8
Add seconds options for clock mode, from augustus7613 dot mail at pm dot
...
me in GitHub issue 4697.
2025-11-25 21:24:27 +00:00
Nicholas Marriott
ca74fa1db0
Update version and CHANGES.
2025-11-25 21:21:59 +00:00
Nicholas Marriott
987986631d
Merge tag '3.5a'
...
tmux 3.5a.
2025-11-25 20:42:10 +00:00
nicm
1d89233047
Add a resize callback for menus so that they are correctly moved on
...
resize. From m-einfalt at gmx dot de in GitHub issue 4696.
2025-11-25 20:27:23 +00:00
Thomas Adam
348f16093c
Merge branch 'obsd-master'
2025-11-18 10:01:07 +00:00
nicm
2a3ec87887
Make -v to source-file pass through to subsequent source-file commands,
...
GitHub issue 4216.
2025-11-18 08:42:09 +00:00
nicm
b52dcff745
Allow show-messages to work without a client.
2025-11-18 08:37:54 +00:00
Thomas Adam
f372112a8d
Merge branch 'obsd-master'
2025-11-14 10:01:08 +00:00
nicm
72117debf7
Send matching terminator on queued requests, reported by Henry Qin.
2025-11-14 07:55:23 +00:00
Thomas Adam
2f3c71595b
Merge branch 'obsd-master'
2025-11-13 16:01:07 +00:00
nicm
113aaf37fc
When copying a line from one screen to another, stop only when both
...
source and target are beyond the allocated line length. Fixes problems
with trailing spaces on pane-border-format. GitHub issue 4688 from
Dmitry Ryabkov.
2025-11-13 13:08:44 +00:00
Nicholas Marriott
768042d29d
Fix build afte merge, from Vladimir Lomov.
2025-11-13 07:18:53 +00:00
Thomas Adam
db274f9c39
Merge branch 'obsd-master'
2025-11-12 21:26:29 +00:00
nicm
66279c124e
Make requests to the external terminal one queue instead of one by type,
...
and include any other requests as well so that ordering is maintained.
2025-11-12 20:41:06 +00:00
Thomas Adam
b335419505
Merge branch 'obsd-master'
2025-11-12 16:01:09 +00:00
nicm
3c9e10139f
If display-popup is used inside a popup, modify that popup. From
...
m-einfalt at gmx dot de in GitHub issue 4678.
2025-11-12 13:47:51 +00:00
Thomas Adam
34898c89cd
Merge branch 'obsd-master'
2025-11-12 10:01:08 +00:00
nicm
40600eebfa
Do not send theme updates to panes that have exited, GitHub issue 4671.
2025-11-12 08:06:33 +00:00
nicm
12497ecade
Convert all keys for backspace, not just A-Z.
2025-11-12 07:54:52 +00:00
nicm
9e21f426c0
Add a command to explcitly set the selection mode in copy mode, GitHub
...
issue 3842.
2025-11-12 07:53:22 +00:00
Nicholas Marriott
c77d49f67e
Save and restore images in alternate screen, GitHub issue 3732.
2025-11-12 07:49:17 +00:00
Thomas Adam
33cfe8b809
Merge branch 'obsd-master'
2025-11-07 14:01:08 +00:00
jsg
0d0ef5d0d2
correct test for COLORTERM containing 256
...
found with smatch, ok nicm@
2025-11-07 12:43:47 +00:00
Nicholas Marriott
d65bac979d
Do not try to allocate zero size colours, GitHub issue 4674.
2025-11-07 12:36:07 +00:00
jsg
c1667bd85e
consistently use tabs for indentation
...
found with smatch, ok nicm@
2025-11-07 12:30:36 +00:00
Thomas Adam
815f7ecffb
Merge branch 'obsd-master'
2025-11-03 12:01:06 +00:00
Thomas Adam
44c0443983
Merge branch 'obsd-master'
2025-11-03 09:57:35 +00:00
nicm
3051076dd1
Ignore Hangul filler character. There doesn't seem to be much agreement
...
on what to do with this but ignoring it seems rightand does improve
things. GitHub issue 3998.
2025-11-03 09:27:06 +00:00
nicm
d90b414223
Handle regional indicators and emoji modifiers in a better way, GitHub
...
issue 3998.
2025-11-01 16:44:24 +00:00
nicm
8cb2805eb7
Handle ~ correctly when loading a file, GitHub issue 3518.
2025-11-01 16:42:59 +00:00
nicm
e5ab5995db
Fix now-incorrect text about {}s.
2025-10-31 09:00:26 +00:00
nicm
e774b89062
Preserve marked pane with swap-window and move-window, GitHub issue 3443.
2025-10-30 13:52:08 +00:00
nicm
29db8ac36e
Set and check COLORTERM as a hint for RGB colour.
2025-10-30 11:52:25 +00:00
Thomas Adam
be2d4aa434
Merge branch 'obsd-master'
2025-10-30 10:01:07 +00:00
nicm
1e61e52400
If tmux receives a palette request (OSC 4) in a pane and the palette
...
entry has not been set, send a request to the most recently used client
and forward any response instead. Based on change from Tim Culverhouse
in GitHub issue 4665.
2025-10-30 07:41:19 +00:00
Thomas Adam
4bdfbfa854
Merge branch 'obsd-master'
2025-10-29 12:01:07 +00:00
nicm
2c08960f4e
Add -l flag to command-prompt to disable splitting into multiple prompts,
...
GitHub issue 4483.
2025-10-29 09:37:36 +00:00
nicm
1a419609e3
Don't enter copy mode on mouse wheel in alternate screen, GitHub issue 3705.
2025-10-29 09:33:20 +00:00
Nicholas Marriott
f812b8d304
Cast to avoid warnings on 32-bit architectures. GitHub issue 4597.
2025-10-29 08:49:16 +00:00
Thomas Adam
ff6eefd7c7
Merge branch 'obsd-master'
2025-10-28 18:01:08 +00:00
nicm
0c5abfefd3
Add commands to centre the cursor in copy mode, from m-einfalt at gmx
...
dot de in GitHub issue 4662.
2025-10-28 16:36:52 +00:00
Thomas Adam
e560a09db0
Merge branch 'obsd-master'
2025-10-28 15:16:58 +00:00
nicm
9bf8ca5856
Support case insensitive search in modes in the same way as copy mode
...
(like emacs, so all-lowercase means case insensitive). GitHub issue
4396.
2025-10-28 14:21:06 +00:00
Thomas Adam
410abb5afb
Merge branch 'obsd-master'
2025-10-28 14:01:08 +00:00
Thomas Adam
482aa937b1
Merge branch 'obsd-master'
2025-10-28 12:01:07 +00:00
nicm
b4ba6e49af
Do not realpath() everything since it is pointless and breaks symlinks.
...
GitHub issue 4427.
2025-10-28 10:51:30 +00:00
Thomas Adam
010394ab63
Merge branch 'obsd-master'
2025-10-28 10:01:07 +00:00
nicm
7cbb96528c
Do not try to reflow if line is NULL.
2025-10-28 09:01:12 +00:00
nicm
aa420cd54a
Tweak error messages so that file name isn't modified when we capitalize
...
the first letter, from Pavel Roskin in GitHub issue 4666.
2025-10-28 07:32:26 +00:00
Thomas Adam
d5302ec327
Merge branch 'obsd-master'
2025-10-27 22:01:08 +00:00
nicm
f31a2d229c
Do not play games with lines for view mode output since it stops them
...
wrapping, GitHub issue 4462.
2025-10-27 20:31:40 +00:00
Thomas Adam
35ad72e56f
Merge branch 'obsd-master'
2025-10-20 10:01:07 +01:00
nicm
f501817154
Fix the logic of the no-detached case for detach-on-destroy option - a
...
previous change made it so that even in the no-detached case, tmux would
always re-attach to a session, even if there weren't any detached ones.
From Martin Louazel in GitHub issue 4649.
2025-10-20 07:28:38 +00:00
Thomas Adam
449f255f3e
Merge branch 'obsd-master'
2025-10-13 10:01:08 +01:00
nicm
21d890e6df
Add buffer_full format variable, from Mohammad AlSaleh in GitHub issue
...
4630.
2025-10-13 07:29:53 +00:00
nicm
feb3b90596
Check allow-set-title for APC as well.
2025-10-13 07:19:08 +00:00
Nicholas Marriott
0ff2676a25
Implement getdtablecount(3) for Darwin, from Chip Davis in GitHub issue 4636.
2025-10-06 11:13:53 +01:00
Thomas Adam
3e28777ecb
Merge branch 'obsd-master'
2025-09-12 12:01:09 +01:00
nicm
7516f8e94f
Check the right flags member, reported by someone in GitHub issue 4634.
2025-09-12 08:46:29 +00:00
Thomas Adam
ac574b6782
Merge branch 'obsd-master'
2025-09-09 12:01:09 +01:00
nicm
50dafd6187
Remove some unnecessary assignments.
2025-09-09 08:49:22 +00:00
Thomas Adam
d4f129b513
Merge branch 'obsd-master'
2025-09-08 14:01:08 +01:00
Nicholas Marriott
9a72317c4f
Check for vlock earlier to neaten output.
2025-09-08 12:27:26 +01:00
nicm
b21b1ee9af
Don't try to change directory if it is NULL.
2025-09-08 11:21:56 +00:00
nicm
c62fe6dac8
The client can be NULL, fixes -v in config file.
2025-09-08 11:21:29 +00:00
Thomas Adam
9dc136f445
Merge branch 'obsd-master'
2025-09-08 12:01:10 +01:00
Thomas Adam
418bf148e0
Merge branch 'obsd-master'
2025-09-08 10:01:08 +01:00
jsg
408721ae37
correct indentation, no functional change
...
found with smatch, ok nicm@
2025-09-08 08:23:19 +00:00
Nicholas Marriott
b1b6850fa9
Add test for control mode, from Sergei Nizovtsev.
2025-09-08 08:31:23 +01:00
nicm
d73196750f
Change so that source-file errors are reported correctly in control
...
mode, from Sergei Nizovtsev in GitHub issue 4626.
2025-09-08 07:30:15 +00:00
Thomas Adam
093754db3f
Merge branch 'obsd-master'
2025-09-07 18:01:08 +01:00
nicm
7cc15969ff
Quote cwd for glob in a way that actually works, from Pavel Roskin in
...
GitHub issue 4623.
2025-09-07 14:17:25 +00:00
nicm
b53cf70262
Introduce a new window option: tiled-layout-max-columns. It configures
...
the maximum number of columns in the tiled layout. The default value is
0 which means no limit and makes the change backward-compatible. From
vkadlcik at redhat dot com.
2025-09-07 14:03:18 +00:00
Nicholas Marriott
1dadd6c9ae
Do not force SIXEL images to a multiple of 6 lines. From nincsnevem662 at gmail
...
dot com in GitHub issue 4622.
2025-09-07 14:55:18 +01:00
Nicholas Marriott
a7a94cb86f
Fix OOB access in sixel_print by ensuring that the number of chunks actually
...
matches the highest color used on the image, even if not defined as a color
register. From nincsnevem662 at gmail dot com in GitHub issue 4621.
2025-09-07 14:53:08 +01:00
Thomas Adam
3d6954f0f0
Merge branch 'obsd-master'
2025-09-05 10:01:08 +01:00
nicm
267efefdfa
Restore default blinking state when restoring default cursor style, from
...
Andrea Alberti.
2025-09-05 06:15:48 +00:00
Thomas Adam
6a3170386e
Merge branch 'obsd-master'
2025-09-02 18:36:44 +01:00
nicm
4d83eef756
Add support for DECRQSS SP q (report cursor style), DECRQM ?12 (report
...
cursor blink state) and DECRQM ?2004, ?1004, ?1006 (report mouse state).
From Andrea Alberti in GitHub issue 4618.
2025-09-02 15:15:12 +00:00
Thomas Adam
44b7a2d1f9
Merge branch 'obsd-master'
2025-09-02 16:01:08 +01:00
nicm
c32570c602
Set PWD for jobs as well as panes.
2025-09-02 13:39:14 +00:00
Thomas Adam
9702ef3f91
Merge branch 'obsd-master'
2025-09-02 02:01:07 +01:00
Thomas Adam
b2194ac549
Merge branch 'obsd-master'
2025-09-02 00:01:08 +01:00
nicm
b5413dacc7
Delete timer before adding it again.
2025-09-01 22:11:23 +00:00
nicm
aa33757e45
Fix missing argument from OSC 4 reply, from someone in GitHub issue 4596.
2025-09-01 21:44:37 +00:00
Thomas Adam
a0065bea04
Merge branch 'obsd-master'
2025-09-01 12:01:08 +01:00
nicm
5c89d835a6
Add -k flag to display-popup which allows any key to dismiss the popup
...
once the command has exited. From Meriel Luna Mittelbach in GitHub issue
4612.
2025-09-01 08:03:07 +00:00
nicm
cfb906a0ce
Increase the escape delay when waiting for an RGB response no matter
...
when it is triggered (they can also be sent on resize). GitHub issue
4569.
2025-09-01 07:58:09 +00:00
nicm
af36d7c430
Ensure break-pane -P prints when only one pane is left. From Chaoyi Yin
...
in GitHub issue 4615.
2025-09-01 07:53:49 +00:00
Nicholas Marriott
0c9165fc71
Give another bit to the first component of SIXEL colours to fix the HLS color
...
space which uses 360 degrees in its first component. From nincsnevem662 at
gmail dot com in GitHub issue 4616.
2025-09-01 08:31:57 +01:00
Thomas Adam
fa63088dce
Merge branch 'obsd-master'
2025-08-26 10:01:07 +01:00
nicm
0b7235c5f0
Correctly calculate lines to clear for deletions, from Pavel Roskin.
2025-08-26 07:17:51 +00:00
nicm
ca0f0419e6
input_stop_utf8 can move the cursor, so it is now wrong to store the
...
cursor position before calling it. Problem found by Jayakrishna
Vadayath.
2025-08-26 07:15:00 +00:00
nicm
3520e833a4
Be more robust against misbehaving clients, prompted by deraadt based on
...
a report from sai02 at student dot ubc dot ca.
2025-08-26 07:00:22 +00:00
Nicholas Marriott
bb4866047a
Fix build.
2025-08-22 12:58:19 +01:00
Thomas Adam
2070731af1
Merge branch 'obsd-master'
2025-08-22 12:01:08 +01:00
Thomas Adam
a5909b450c
Merge branch 'obsd-master'
2025-08-22 10:01:08 +01:00
nicm
94bafa5aaf
A couple of memory leaks from someone in GitHub issue 4590.
2025-08-22 07:48:23 +00:00
nicm
7325da3052
Extend pane lookup special case for switch-client to mouse target ("=")
...
so that it works for panes on status line.
2025-08-22 07:42:51 +00:00
nicm
e6d275b371
Do not leak label if it is too long, GitHub issue 4591.
2025-08-22 07:39:40 +00:00
Thomas Adam
f4c0fe2ede
Merge branch 'obsd-master'
2025-08-22 08:37:26 +01:00
nicm
12452f4427
Do not double free argv from MSG_COMMAND if it is too long, reported by
...
sai02 at student dot ubc dot ca via deraadt. ok deraadt
2025-08-22 07:26:25 +00:00
nicm
1370791734
Add a nicer default second and third status line, from Michael Grant in
...
GitHub 4490.
2025-08-14 07:15:40 +00:00
nicm
0646814235
Add some NULL checks, GitHub issue 4586.
2025-08-14 06:49:53 +00:00
nicm
84775130a0
Add pane-border-lines value to use spaces for pane borders, from lukas
...
dot 23022005 at gmail dot com in GitHub issue 4587.
2025-08-14 06:44:50 +00:00
nicm
4ce893ebc0
Do not leak opened file, from lg65438805 at gmail dot com in GitHub
...
issue 4577.
2025-08-14 06:37:29 +00:00
nicm
3ae0d560be
Replace invalid UTF-8 with the placeholder instead of ignoring them
...
(this is what most terminals do), GitHub issue 4514.
2025-08-12 12:33:05 +00:00
nicm
06c84dba59
Fix PageDown in menus, from Pavel Roskin in GitHub issue 4581.
2025-08-12 12:29:58 +00:00
nicm
d90e7623c6
Free command on failure, GitHub issue 4578.
2025-08-12 12:26:09 +00:00
Thomas Adam
b13005e802
Merge branch 'obsd-master'
2025-08-04 16:01:07 +01:00
nicm
05b2893b9f
Do not leak buffer if not used, reported by someone in GitHub issue
...
4575.
2025-08-04 13:22:10 +00:00
nicm
1bf2023ed4
Flush scrolling when wrapping so UTF-8 in last position draws correctly,
...
GitHub issue 4518.
2025-08-04 13:16:13 +00:00
Thomas Adam
6f9bcb7fee
Merge branch 'obsd-master'
2025-08-01 12:01:08 +01:00
nicm
6d94909c08
Do not leak on failure, GitHub 4565.
2025-08-01 09:05:51 +00:00
Nicholas Marriott
86153fbba9
Add UTF-8 regress test.
2025-08-01 09:45:18 +01:00
nicm
4f38af01e0
Fix reverse documentation of display-popup -s and -S, from Ricardo Signes.
2025-08-01 08:17:27 +00:00
Thomas Adam
a6588d6918
Merge branch 'obsd-master'
2025-07-22 10:01:08 +01:00
Nicholas Marriott
720d1e831d
The AIX functions hang on 7300-01-01-2246 according to GitHub issue 4400.
...
Remove them.
2025-07-22 09:09:56 +01:00
nicm
206f492401
Fix incorrect handling of Korean Hangul Jamo characters. GitHub issue
...
4546 from Roy Jung.
2025-07-22 07:42:52 +00:00
Nicholas Marriott
fa5f3cef3d
Send SIGCHLD after utempter_remove_record as well. GitHub issue 4559.
2025-07-20 19:59:11 +01:00
Thomas Adam
c70d0a6a69
Merge branch 'obsd-master'
2025-07-19 22:01:08 +01:00
nicm
6549aaf393
yyerror should be void.
2025-07-19 19:30:37 +00:00
nicm
6378c87d15
Only accept DA and DA2 when they end in 'c', stops them being confused
...
with theme responses.. GitHub issue 4561.
2025-07-19 19:20:10 +00:00
Thomas Adam
4a0eff1296
Merge branch 'obsd-master'
2025-07-19 00:01:08 +01:00
nicm
9c07903ae9
Correctly remove overwritten wide characters at column 1.
2025-07-18 20:44:13 +00:00
Thomas Adam
32b7b3a6f7
Merge branch 'obsd-master'
2025-07-17 14:01:08 +01:00
nicm
041bbf8bdf
Allow uppercase letters in gray/grey color names, GitHub issue 4560 from
...
Pavel Roskin.
2025-07-17 11:39:23 +00:00
Nicholas Marriott
701f6b4b2f
Update use-this-issue-template.md
2025-07-17 10:59:53 +01:00
Nicholas Marriott
bddd019a04
Update use-this-issue-template.md
2025-07-17 10:58:28 +01:00
Thomas Adam
865117a05f
Merge branch 'obsd-master'
2025-07-13 10:01:08 +01:00
nicm
e6bac234db
Increase delay for foreground and background queries as well as device
...
attributes, GitHub issue 4541.
2025-07-13 06:32:34 +00:00
Nicholas Marriott
9f1fac9142
Use MAC_OS_X_VERSION_MIN_REQUIRED. From Sevan Janiyan, GitHub issue 4550.
2025-07-13 07:26:35 +01:00
nicm
9831175a2d
Use window index not ID for sorting, reported by naru at naruaway dot
...
com in GitHub issue 4551.
2025-07-13 06:16:28 +00:00
Thomas Adam
7e43953937
Merge branch 'obsd-master'
2025-07-02 12:01:08 +01:00
nicm
28481e984b
Add sorting to W, P, L operators as well, and add some new session
...
format variables. From Michael Grant in GitHub issue 4516.
2025-07-02 08:13:09 +00:00
Thomas Adam
30e4f119d3
Merge branch 'obsd-master'
2025-07-01 12:01:08 +01:00
jsg
01da87c112
new sentence, new line
2025-07-01 08:54:50 +00:00
Nicholas Marriott
e7f15d09be
Missed a header.
2025-06-24 15:04:24 +01:00
Nicholas Marriott
cbb3c4bfed
Update imsg from OpenBSD.
2025-06-24 15:02:16 +01:00
Thomas Adam
d24993aeab
Merge branch 'obsd-master'
2025-06-24 14:01:08 +01:00
nicm
d858ad1179
Detect support for OSC 52 using the device attributes report. Some
...
terminals are using this to indicate that they support copying to the
clipboard with XTerm's OSC 52 sequence. From James Holderness in GitHub
issue 4539.
2025-06-24 10:57:35 +00:00
Thomas Adam
96244dd727
Merge branch 'obsd-master'
2025-06-20 18:01:08 +01:00
Thomas Adam
b38b5d3df2
Merge branch 'obsd-master'
2025-06-20 16:01:08 +01:00
nicm
ad3e6ff054
Add noattr and use in mode-style to allow whether attributes are ignored
...
or used to be configured. GitHub issue 4498.
2025-06-20 14:54:33 +00:00
nicm
522652913f
Add S: to list sessions with modifiers for sorting, from Michael Grant.
2025-06-20 13:31:59 +00:00
Thomas Adam
43e88c892d
Merge branch 'obsd-master'
2025-06-16 02:01:07 +01:00
nicm
d82d9468b4
Expand mode-style with E: so # is correctly processed, GitHub issue
...
4533.
2025-06-15 22:24:51 +00:00
nicm
d7f75ac985
Do not replace SHELL when using /bin/sh. From someone in GitHub issue 4528.
2025-06-15 21:57:58 +00:00
Thomas Adam
1dbceaa790
Merge branch 'obsd-master'
2025-05-28 14:01:08 +01:00
nicm
77ca59acac
Add missing theme hooks, from Eric NICOLAS in GitHub issue 4519.
2025-05-28 09:53:57 +00:00
Thomas Adam
7be0613657
Merge branch 'obsd-master'
2025-05-22 12:01:07 +01:00
Thomas Adam
b9ad9186fe
Merge branch 'obsd-master'
2025-05-22 10:01:08 +01:00
nicm
3f4b154b70
Bump UTF8_SIZE to the maximum 32 because there are some crazy long UTF-8
...
sequences out there (GitHub issue 4506). This should not significantly
increase typical memory consumption because we only store each Unicode
character once in the shared cache.
2025-05-22 08:01:29 +00:00
Nicholas Marriott
ff73c95547
New bash completion URL, from David Mandelberg.
2025-05-22 08:52:10 +01:00
Nicholas Marriott
aa0d05f676
Typos, from someone in GitHub issue 4511.
2025-05-22 08:51:14 +01:00
nicm
545832e9fa
Typo, from someone in GitHub issue 4511.
2025-05-22 07:49:24 +00:00
nicm
a0ac2a5d63
When there are more than two horizontal windows and the active window is
...
in not on an edge, correctly highlight both its left and right borders.
GitHub issue 4513 from Michael Grant.
2025-05-22 07:46:38 +00:00
nicm
833c7fbf6d
Add a set-default style attribute which replaces the current default
...
colours and attributes completely, useful at the start of compound
format strings (like status-format) to set the default colours for all
the following options.
2025-05-22 07:43:38 +00:00
Thomas Adam
faf2a44890
Merge branch 'obsd-master'
2025-05-12 14:01:10 +01:00
Thomas Adam
d194ceb604
Merge branch 'obsd-master'
2025-05-12 12:01:10 +01:00
nicm
37a2c98d3d
Expand prompts when they are used rather than ahead of time, so the
...
input can be used as part of the format.
2025-05-12 10:34:13 +00:00
nicm
79b02998a6
Add R format modifier to repeat an argument.
2025-05-12 10:26:19 +00:00
nicm
1ce1e7ef27
Add -E to run-shell to forward stderr as well as stdout, from github at
...
jyn dot dev in GitHub issue 4246.
2025-05-12 10:16:42 +00:00
nicm
7499d925da
Do not downgrade styled underscores to standard underscore if the
...
terminal does not support them, this matches what would happen if the
application tried to use them on a terminal without support.
2025-05-12 09:50:00 +00:00
nicm
367f17a4ff
Preserve colours in selection if the option style is default, GitHub
...
issue 4498.
2025-05-12 09:17:42 +00:00
Thomas Adam
3d2b26dcfe
Merge branch 'obsd-master'
2025-05-01 10:01:11 +01:00
nicm
6106a0f2c4
Add an option variation-selector-always-wide to instruct tmux not to
...
always interpret VS16 as a wide character and assume the terminal does
likewise. This is behaviour seen in a number of newer terminals' Unicode
14 support but not in older terminals; it seems to be a little
contentious and is currently difficult to detect.
Probably in the long run tmux should pick a behaviour, look at a (new)
terminfo(5) capability to tell it what the terminal will do, and emulate
as required, but at this point I'm not sure that is worth it for
something where support is mixed, seems to be in flux, and that mostly
only matters for emojis.
GitHub issues 3923 and 4475 and others before that.
2025-05-01 07:12:00 +00:00
nicm
1926c1b683
Don't map 256 to white-on-white either, and tidy code a bit.
2025-05-01 06:59:32 +00:00
Nicholas Marriott
6cc1a607fc
optarg should be "extern char *" not "extern const char *".
2025-05-01 07:53:02 +01:00
Nicholas Marriott
1905afb3d8
tmux has its own warnx so there is no need for logit (and this gets rid of a
...
warning).
2025-04-29 17:39:56 +01:00
Nicholas Marriott
345a45083d
Run the regress/style-trim.sh test in a plain Bash session, from Koichi Murase.
2025-04-29 17:29:32 +01:00
Nicholas Marriott
3a3babf597
Use printf not echo, from Koichi Murase.
2025-04-28 14:51:27 +01:00
Nicholas Marriott
f367e3a6c8
Switch to getopt_long from OpenSSH, from Koichi Murase in GitHub issue 4492.
2025-04-28 09:02:15 +01:00
Nicholas Marriott
f2283b0cb5
Fix some regress tests.
2025-04-28 08:57:29 +01:00
Nicholas Marriott
26081ac125
Create config.yml
2025-04-28 07:27:57 +01:00
Thomas Adam
36fba4cc54
Merge branch 'obsd-master'
2025-04-25 16:01:08 +01:00
Thomas Adam
58b4286edb
Merge branch 'obsd-master'
2025-04-25 14:01:10 +01:00
nicm
b0b6a6f665
Revert change to handle command parsing failures in the client because
...
it breaks aliases.
2025-04-25 12:25:32 +00:00
nicm
63e5989f53
Remove a stray period, reported by David Mandelberg.
2025-04-25 11:39:39 +00:00
Nicholas Marriott
9da5707d3e
Add a run-shell output test.
2025-04-25 12:06:51 +01:00
Thomas Adam
55292b72d1
Merge branch 'obsd-master'
2025-04-25 12:01:09 +01:00
Nicholas Marriott
06b1ad6241
Tests for boolean expressions from David Mandelberg.
2025-04-25 09:28:57 +01:00
nicm
1efe41b9b9
Add more features for boolean expressions in formats: 1) extend && and
...
|| to support arbitrarily many arguments and 2) add ! and !! for not and
not-not.
2025-04-25 08:28:21 +00:00
Nicholas Marriott
1198eed632
Currently the DCS dispatcher detects Sixel sequences based entirely on the
...
final character of the sequence, ignoring any intermediates. This means that
other DCS sequences with a q final (like DECRQSS), can be mistakenly
interpreted as Sixel. Add a check to make sure there are no intermediates
before dispatching potential Sixel sequences. From James Holderness in GitHub
issue 4488.
2025-04-25 08:26:26 +01:00
Thomas Adam
0772fe822a
Merge branch 'obsd-master'
2025-04-24 12:01:10 +01:00
nicm
f53fac1b56
Do not add a trailing / if there is nothing to follow it, Johannes
...
Altmanninger in GitHub issue 4472.
2025-04-24 08:55:40 +00:00
nicm
68f2ac9296
Fix examples with too many backslashes, pointed out by David Mandelberg.
2025-04-24 08:54:40 +00:00
Thomas Adam
b4f8340f16
Merge branch 'obsd-master'
2025-04-22 16:01:12 +01:00
nicm
d2f73c17d5
Add calls to layout_fix_panes after a pane swap to fix case if one of
...
the panes is in alternate screen mode and had a scrollbar. From Michael
Grant in GitHub issue 4481.
2025-04-22 12:36:03 +00:00
nicm
5db914b745
Add notes to menu keys, from someone in GitHub issue 4478.
2025-04-22 12:34:56 +00:00
nicm
cd3d2910ee
Fix description of pane_in_mode, from Julian Prein in GitHub issue 4469.
2025-04-22 12:33:35 +00:00
Nicholas Marriott
de7653f5a4
Update format tests for #? changes, from David Mandelberg.
2025-04-22 13:23:33 +01:00
nicm
b905039ed2
Improve #? conditional expression in formats:
...
1) add support for else if, so
#{?cond1,value1,#{?cond2,value2,else-value}} can be changed to
#{?cond1,value1,cond2,value2,else-value};
2) add default empty string if there's no else value, so
#{?cond1,value1,} can be changed to #{?cond1,value1}.
From David Mandelberg in GitHub issue 4451.
2025-04-22 12:23:26 +00:00
Nicholas Marriott
f0a85d0469
Move cgroup dbus requests to the child to avoid a race where a spawned child
...
that quickly forks will have only the parent process moved to the newly created
cgroup. From Daniel De Graaf, GitHub issue 4435.
2025-04-14 07:27:02 +01:00
Thomas Adam
ac2779f4d8
Merge branch 'obsd-master'
2025-04-09 10:01:12 +01:00
nicm
68ffe65499
Fix documentation around optional arguments. This includes:
...
- Syncing between the usage string in code and in the man page.
- Adding optional arguments that were not mentioned (such as
shell-command arguments).
- Adding square brackets around arguments that are actually optional.
From Julian Prein (julian at druck dot dev) in GitHub issue 4419.
2025-04-09 07:03:04 +00:00
nicm
3e14e7c48b
Formats can use environment variables, from David Mandelberg.
2025-04-09 06:51:31 +00:00
nicm
b526e678b5
Make some usages more consistent and add -h to show usage, GitHub issue
...
4455 from David Mandelberg.
2025-04-09 06:27:43 +00:00
Thomas Adam
d3c39375d5
Merge branch 'obsd-master'
2025-04-03 14:01:10 +01:00
nicm
a7991dcbad
Fix padding for word function as well, GitHub issue 4425.
2025-04-03 11:52:25 +00:00
nicm
47dff97834
Use backing grid for word in copy mode for wrapped flags, from someone
...
in GitHub issue 4447.
2025-04-03 11:51:27 +00:00
Thomas Adam
2905395695
Merge branch 'obsd-master'
2025-04-02 12:01:13 +01:00
nicm
4bf38da4d4
Only align panes and windows, not sessions, from David Mandelberg in
...
GitHub issue 4444.
2025-04-02 09:31:00 +00:00
nicm
9b37b9285e
Popup window should not be draggable while mouse still pressed, and do
...
not try to work out theme if no pane. From Michael Grant in GitHub issue
4330.
2025-04-02 09:12:05 +00:00
Thomas Adam
dfdced2ab1
Merge branch 'obsd-master'
2025-03-31 00:01:10 +01:00
Nicholas Marriott
c2a95a372f
Add a note about closed issues, from David Mandelberg.
2025-03-30 23:04:22 +01:00
nicm
ef923d28ff
Do not try to trigger theme changed if session is NULL.
2025-03-30 22:01:55 +00:00
nicm
53b0e0bc02
Missing space, from David Mandelberg.
2025-03-30 21:47:01 +00:00
Thomas Adam
096c4b3e63
Merge branch 'obsd-master'
2025-03-28 20:01:10 +00:00
Thomas Adam
b8189d6ee3
Merge branch 'obsd-master'
2025-03-28 18:01:11 +00:00
nicm
f41dc91357
Only copy the key string not two bytes extra, found by David Mandelberg.
2025-03-28 17:15:25 +00:00
nicm
ef0c12ad9e
Fix read of uninitialized memory for jobs with JOB_PTY flag. From David
...
Mandelberg.
2025-03-28 17:03:49 +00:00
Thomas Adam
9e1f110db0
Merge branch 'obsd-master'
2025-03-24 22:01:11 +00:00
nicm
483b2b3edb
Correctly skip wide characters in hyperlinks, from someone in GitHub
...
issue 4425.
2025-03-24 20:17:24 +00:00
nicm
34a35b0f09
Expand formats with the pane modifier in tree mode so that #() doesn't
...
always use the same value. From Michael Grant in GitHub issues 4412 and
4420.
2025-03-24 20:13:03 +00:00
nicm
aca3ffb30a
Add default-client-command to set the command used is tmux is run
...
without a command (the default stays new-session). From David Mandelberg
in GitHub issue 4422.
2025-03-24 20:01:03 +00:00
Thomas Adam
c3c4524def
Merge branch 'obsd-master'
2025-03-21 16:01:11 +00:00
nicm
f101762d1b
Fix mouse_hyperlink format in copy mode. From someone in GitHub issue
...
4418.
2025-03-21 14:04:26 +00:00
nicm
a541be3951
Add S-Up and S-Down to move windows in tree mode. From David Mandelberg
...
in GitHub issue 4415.
2025-03-21 13:36:42 +00:00
nicm
b7d640e764
Add some additional cursor format variables. From shiro at usagi dot io
...
in GitHub issue 4414.
2025-03-21 13:26:39 +00:00
Thomas Adam
969f6a60c3
portable: SYNCING: correct tmux-openbsd
...
The tmux-openbsd repository is called tmux-obsd.
Noticed via Github issue #4419
2025-03-21 12:46:06 +00:00
Thomas Adam
6703cb85d9
Merge branch 'obsd-master'
2025-03-21 04:01:10 +00:00
jsg
111e16e772
remove prototypes for removed functions
2025-03-21 02:10:42 +00:00
Thomas Adam
3eb93383a3
Merge branch 'obsd-master'
2025-03-17 22:01:10 +00:00
nicm
817b621d20
If there is an active query, set escape time temporarily to a higher
...
value (the old default - 500). Some Windows terminals are very slow to
respond, or the network may be slow. From github at jyn dot dev.
2025-03-17 20:43:29 +00:00
nicm
5eb30c1543
Handle padding cells correctly for regular expression searching, GitHub issue 4399 from
...
github at jyn dot dev.
2025-03-17 20:33:20 +00:00
Thomas Adam
d4b8635f50
Merge branch 'obsd-master'
2025-03-11 10:01:12 +00:00
nicm
4e4fe3eb39
Cleanup window_get_active_at function. GitHub issue 4401 from Michael
...
Grant.
2025-03-11 08:14:26 +00:00
Thomas Adam
882fb4d295
Merge branch 'obsd-master'
2025-03-04 10:01:15 +00:00
nicm
eaf70c955b
Add mode 2031 support to automatically report dark or light theme. tmux
...
will guess the theme from the background colour on terminals which do
not themselves support the escape sequence. Written by Jonathan
Slenders, GitHub issue 4353.
2025-03-04 08:45:04 +00:00
nicm
3543d79048
Free fill character string if it cannot be used, GitHub issue 4394.
2025-03-04 08:03:19 +00:00
Thomas Adam
94783addfc
Merge branch 'obsd-master'
2025-02-26 10:01:14 +00:00
nicm
91c0de60b4
Also need the implied meta paste keys in the list for output.
2025-02-26 09:02:00 +00:00
nicm
21f7db4c4d
Do not allow meta prefix on paste start and end sequences, GitHub issue 4387.
2025-02-26 08:55:27 +00:00
nicm
f224d61f37
Document the use of ';' as a modifier separator, from Matt Liggett in
...
GitHub issue 4384.
2025-02-26 07:50:36 +00:00
nicm
d938ab5dd7
If command parsing fails in the client, report the error rather than
...
trying to send the command to the server. GitHub issue 4372 from Nikola
Tadic.
2025-02-26 07:47:46 +00:00
nicm
9a8f46e554
Fix colouring of pane border when scrollbars are enabled, GitHub issue
...
4378 from Michael Grant.
2025-02-26 07:42:52 +00:00
nicm
27ee0c9c3b
Add the width of the scrollbars to the calculation of the width of the
...
window panes when finding the adjacent panes, GitHub issue 4370 from
Michael Grant.
2025-02-26 07:39:50 +00:00
Thomas Adam
251a87e2d2
Merge branch 'obsd-master'
2025-02-20 16:01:14 +00:00
nicm
084e6ee9ec
Add a -M flag to capture-pane to use the copy mode screen, GitHub issue
...
4358.
2025-02-20 13:39:58 +00:00
nicm
18331e39bf
Reset overlay_resize pointer when clearing overlay.
2025-02-20 13:32:07 +00:00
Nicholas Marriott
250c88efdc
Add .swp, from Nikola Tadic.
2025-02-20 13:31:07 +00:00
Thomas Adam
9a377485be
Merge branch 'obsd-master'
2025-02-13 18:01:08 +00:00
nicm
47a56c11f2
Add a note about C-r and C-s behaviour, GitHub issue 4309.
...
Also add a missing word, from jmc@.
2025-02-13 16:31:25 +00:00
Nicholas Marriott
c4b9716873
Look for imsg_add not _init now.
2025-02-13 16:24:33 +00:00
Thomas Adam
ec119b2f9e
Merge branch 'obsd-master'
2025-02-10 10:01:11 +00:00
nicm
5d1a6acc84
Align index numbers in trees, from David Mandelberg, GitHub issue 4360.
2025-02-10 08:18:23 +00:00
nicm
80eb460fc9
Add display-message -C flag to update pane while message is displayed,
...
GitHub issue 4363 from Vitaly Ostrosablin.
2025-02-10 08:14:32 +00:00
Thomas Adam
ef68debc8d
Merge branch 'obsd-master'
2025-01-27 12:01:13 +00:00
nicm
4c12ac9fb8
Make list-commands command show only one command if an argument is
...
given, from Ilya Grigoriev in GitHub issue 4352.
2025-01-27 09:16:05 +00:00
nicm
244bb726e2
Add some missing spaces, from Ilya Grigoriev.
2025-01-27 09:05:22 +00:00
Nicholas Marriott
6ab268c7bb
Remove old issue template.
2025-01-20 13:06:03 +00:00
Nicholas Marriott
0c9f8ff189
Update issue templates
2025-01-20 13:02:24 +00:00
Nicholas Marriott
dd7d04be95
Update issue templates
2025-01-20 13:00:07 +00:00
Thomas Adam
58392d29da
Merge branch 'obsd-master'
2025-01-17 18:01:08 +00:00
nicm
9260f5dc96
Do not update focus on client's without a session.
2025-01-17 15:53:01 +00:00
Thomas Adam
62a6c16b43
Merge branch 'obsd-master'
2025-01-13 12:01:11 +00:00
nicm
31e8d4676a
Count line numbers correctly inside strings, reported by Pedro Navarro
...
in GitHub issue 4325.
2025-01-13 08:58:34 +00:00
Thomas Adam
d3cbe00f78
Merge branch 'obsd-master'
2025-01-12 16:01:11 +00:00
nicm
97fe3563fa
Do not crash if moving popup that has exited to a pane, from Michael
...
Grant in GitHub issue 4312.
2025-01-12 14:36:28 +00:00
nicm
37ad1e2f6d
Map bright black (colour 8) to white (7) if the background is black on
...
terminals with only eight colours so the text is not invisible. From
Dmytro Bagrii in GitHub issue 4322.
2025-01-12 14:20:49 +00:00
Thomas Adam
00894d188d
Merge branch 'obsd-master'
2025-01-02 12:01:10 +00:00
nicm
2a5eba7899
Check backspace against VERASE earlier before it is translated to an
...
internal key and do not go through the mapping on output. Fixes problems
reported by Ben Price in GitHub issue 4284 and by tb@.
2025-01-02 10:34:45 +00:00
Thomas Adam
bf30492d57
Merge branch 'obsd-master'
2025-01-01 18:01:10 +00:00
nicm
e00853ee82
Add an option allowing users to override the width of individual Unicode
...
codepoints (overriding tmux's default list).
2025-01-01 15:17:36 +00:00
Thomas Adam
e75f3a0060
Merge branch 'obsd-master'
2024-12-20 10:01:10 +00:00
nicm
eece41547e
Only map S-Tag in mode 2, not mode 1. GitHub issue 4304.
2024-12-20 07:10:51 +00:00
Thomas Adam
c311202b73
Merge branch 'obsd-master'
2024-12-17 10:01:11 +00:00
nicm
e149d29803
Assign excess space more evenly when spreading out cells, from Torbjorn
...
Lonnemark.
2024-12-17 08:40:24 +00:00
Thomas Adam
190ddda572
Merge branch 'obsd-master'
2024-12-16 12:01:12 +00:00
Thomas Adam
6b470c5222
Merge branch 'obsd-master'
2024-12-16 10:01:11 +00:00
nicm
6b32d195e8
Add a nesting limit to source-file, from Fadi Afani in GitHub issue
...
4223.
2024-12-16 09:13:09 +00:00
nicm
bec6ce54c1
Memory leak, GitHub issue 4298.
2024-12-16 08:54:34 +00:00
nicm
106d1c3538
Missing main-vertical-mirrored from layout list, from charlotte at
...
lottia dot net.
2024-12-16 08:51:41 +00:00
Thomas Adam
ae8f2208c9
Merge branch 'obsd-master'
2024-12-06 12:01:11 +00:00
nicm
5c3cf2f08b
Preserve modifiers on backspace.
2024-12-06 09:07:40 +00:00
nicm
102f34090d
Do not write bracketed paste keys themselves if the pane has not asked
...
for them.
2024-12-06 09:06:56 +00:00
Thomas Adam
99790c90aa
Merge branch 'obsd-master'
2024-12-04 22:01:08 +00:00
nicm
6d792e4123
Fix backspace option for new key format, GitHub issue 4284.
2024-12-04 19:11:15 +00:00
Thomas Adam
98e322d5a5
Merge branch 'obsd-master'
2024-12-03 14:01:12 +00:00
jmc
01edce40f3
M-1 to M-7 for 7 preset layouts; from bunkmate
...
ok nicm
2024-12-03 11:18:34 +00:00
Thomas Adam
0549f87ccc
Merge branch 'obsd-master'
2024-11-28 10:01:11 +00:00
nicm
72cd0eac29
Add extended keys flag for foot terminal.
2024-11-28 08:49:14 +00:00
Thomas Adam
f0c68533c4
Merge branch 'obsd-master'
2024-11-27 12:01:08 +00:00
Nicholas Marriott
9e4a9c51cc
Use evbuffer_readline if readln is not available. It doesn't work properly but
...
at least it builds.
2024-11-27 10:37:45 +00:00
Nicholas Marriott
6874ec0dcc
Remove endian.h.
2024-11-27 10:31:51 +00:00
Nicholas Marriott
252f41818e
Update imsg and remove workaround.
2024-11-27 10:30:52 +00:00
nicm
d361f21065
Do not check for latest client in callback since the type may be latest
...
but with no window, fixes new-session -x and -y with another attached
client. GitHub issue 4268.
2024-11-27 10:12:20 +00:00
nicm
feb090abb3
Do not stop drag on double or triple click, GitHub issue 4272.
2024-11-27 10:10:20 +00:00
Thomas Adam
db771ec6e3
Merge branch 'obsd-master'
2024-11-26 18:01:10 +00:00
nicm
6f7db82b18
Add copy-mode-position-style and copy-mode-selection-style for copy
...
mode (they default to mode-style as before).
2024-11-26 15:52:41 +00:00
nicm
67cc7f6dc6
Enter is now sent from single prompt as \r not empty string.
2024-11-26 15:51:48 +00:00
Thomas Adam
db978db271
Merge branch 'obsd-master'
2024-11-25 14:01:12 +00:00
nicm
363f35f076
Do not try to terminate an empty buffer.
2024-11-25 12:32:24 +00:00
Thomas Adam
49b7276f2a
Merge branch 'obsd-master'
2024-11-25 10:01:11 +00:00
nicm
f57131e11b
Use cursor style from global options instead of default for popups, from
...
Alexander Arch.
2024-11-25 08:36:46 +00:00
nicm
420af9e108
Do not rely on window reference count for linked formats because they
...
are also used for notifications, GitHub issue 4258.
2024-11-25 08:34:01 +00:00
Thomas Adam
ceaf9b7452
Merge branch 'obsd-master'
2024-11-22 14:01:11 +00:00
nicm
5fd45b3892
Do not strvis output to terminal from commands.
2024-11-22 12:58:05 +00:00
nicm
64d82d5988
Document command prompt escape sequence, from Von Welch.
2024-11-22 12:36:13 +00:00
Nicholas Marriott
0f308bd18f
imsg no longer associates file descriptors with the imsg they were sent with,
...
work around this for the moment (it is not clear if this is intentional).
2024-11-22 09:58:47 +00:00
Nicholas Marriott
1365f1ce52
Add an __unused.
2024-11-22 08:07:21 +00:00
Nicholas Marriott
7fc4e54efe
And arpa/inet.h needs to stay...
2024-11-22 08:06:30 +00:00
Nicholas Marriott
c98c08c232
Need to remove endian.h as well.
2024-11-22 08:05:02 +00:00
Nicholas Marriott
990c724bd8
Bring in updated imsg.
2024-11-22 08:03:55 +00:00
Thomas Adam
b82c7b40b0
Merge branch 'obsd-master'
2024-11-21 16:01:11 +00:00
claudio
70299c6646
Convert sbin and usr.bin to check for imsgbuf_init failure and add
...
imsgbuf_allow_fdpass where needed.
OK tb@
2024-11-21 13:35:20 +00:00
Thomas Adam
ea6c5053c8
Merge branch 'obsd-master'
2024-11-21 10:01:09 +00:00
nicm
3f4fd45d5c
Fix save-buffer documentation - it writes to stdout. From Ilya Grigoriev.
2024-11-21 07:37:21 +00:00
nicm
7c7e88253e
When the mouse clicked on the border between two horizontal panes, the
...
location was not being set properly. Pulled the checking of this into
separate function for clarity. Fixes dragging on horizontal pane border.
From Michael Grant.
2024-11-21 07:34:38 +00:00
Thomas Adam
bb94a5437d
Merge branch 'obsd-master'
2024-11-21 00:01:13 +00:00
nicm
273f9b2027
Fix word navigation on lines with tabs, from Alexander Arch.
2024-11-20 20:54:02 +00:00
Nicholas Marriott
b6d0b4be30
Define SD_ID128_UUID_FORMAT_STR if missing, from Marc Reisner.
2024-11-19 17:55:12 +00:00
Thomas Adam
2dce45f427
Merge branch 'obsd-master'
2024-11-18 10:01:12 +00:00
nicm
a3ede3106a
Check all %if in the list when deciding whether to process an
...
assignment, not just the most recent.
2024-11-18 08:29:35 +00:00
Thomas Adam
dd9722184b
Merge branch 'obsd-master'
2024-11-16 18:01:08 +00:00
nicm
a854e36f2b
Do not call layout_fix_panes if wp is NULL (that is, a popup).
2024-11-16 16:49:50 +00:00
Thomas Adam
be594ff8a4
Merge branch 'obsd-master'
2024-11-15 16:01:11 +00:00
nicm
c66628e52b
Add no-detach-on-destroy client option (useful for control mode
...
clients). From laur dot aliste at gmail dot com, GitHub issue 4242.
2024-11-15 14:09:04 +00:00
nicm
350a151ee4
Add two new style parameters, width and pad, which apply to scrollbars.
...
From Michael Grant, GitHub issue 4241.
2024-11-15 13:12:20 +00:00
Thomas Adam
d35458e3fe
Merge branch 'obsd-master'
2024-11-15 10:01:11 +00:00
nicm
d6883c0266
Turn off scrollbar when pane is in alternate screen, from Michael Grant,
...
GitHub issue 4231.
2024-11-15 09:01:16 +00:00
Thomas Adam
563ed05353
Merge branch 'obsd-master'
2024-11-12 12:01:10 +00:00
nicm
f527412d9b
Tidy up loop, from Alexander Arch.
2024-11-12 10:06:35 +00:00
nicm
713cacab1e
Mouse support on the scrollbars, from Michael Grant.
2024-11-12 09:32:56 +00:00
Thomas Adam
846f813565
Merge branch 'obsd-master'
2024-11-11 10:01:08 +00:00
nicm
c26d71d3e9
Add an option to control the input buffer size, from Ken Lau.
2024-11-11 08:41:05 +00:00
Thomas Adam
c8677d3272
Merge branch 'obsd-master'
2024-11-08 10:01:08 +00:00
nicm
596ea62dc3
Some fixes for searching for tabs, from Alexander Arch.
2024-11-08 08:51:36 +00:00
Thomas Adam
1fe30bb2e8
Merge branch 'obsd-master'
2024-11-06 20:33:45 +00:00
nicm
809d659e64
Xr to Ic, from jmc.
2024-11-05 21:07:19 +00:00
nicm
09f4e43189
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.
2024-11-05 09:41:17 +00:00
Thomas Adam
679bbdcf8f
Merge branch 'obsd-master'
2024-11-04 10:01:09 +00:00
nicm
a0c79aa87b
Do not make padding cells extended (there can be a lot of them), from
...
Alexander Arch .
2024-11-04 08:52:13 +00:00
Nicholas Marriott
46f3846659
Add -Wno-macro-redefined for macOS.
2024-10-31 12:57:40 +00:00
Thomas Adam
bbc3cc558c
Merge branch 'obsd-master'
2024-10-28 10:01:08 +00:00
nicm
c8bd42de16
Match tab cells when searching, from Alexander Arch in GitHub issue
...
4201.
2024-10-28 08:16:51 +00:00
nicm
62e15e905b
Treat tabs as a word separator, from Alexander Arch in GitHub issue
...
4201.
2024-10-28 08:16:06 +00:00
nicm
125a7b9177
Fix issues in the command prompt: set PROMPT_QUOTENEXT after quoting
...
than before, meaning that accidentally scrolling the mouse wheel doesn't
break quoting; and move the cursor correctly over wide characters. From
Alexander Arch in GitHub issue 4212.
2024-10-28 08:11:59 +00:00
Thomas Adam
895044c52b
Merge branch 'obsd-master'
2024-10-25 22:01:10 +01:00
nicm
40c01c2d37
Allow tabs even on terminals without UTF-8, reported by jmc.
2024-10-25 19:36:38 +00:00
Thomas Adam
911d768b71
Merge branch 'obsd-master'
2024-10-25 18:01:11 +01:00
nicm
71a503e40c
Allow control characters to be entered at the command prompt prefixed
...
with with C-v, from Alexander Arch in GitHub issue 4206.
2024-10-25 15:32:51 +00:00
nicm
487b0ee124
Do not attempt to search for zero length strings, from Alexander Arch in
...
GitHub issue 4209.
2024-10-25 15:19:15 +00:00
nicm
eaec0a48f4
Do not stop stop at first padding in format_grid_line and handle tabs.
2024-10-25 15:13:10 +00:00
nicm
fdbc6cdea5
Flag tabs if possible in the grid cell so they can be preserved on
...
copying and capture-pane. From Alexander Arch in GitHub issue 4201.
2024-10-25 15:00:18 +00:00
Thomas Adam
9623ec3ee4
Merge branch 'obsd-master'
2024-10-25 10:01:07 +01:00
nicm
63582c154c
Add a helper function for cell data comparison, from Alexander Arch.
2024-10-25 07:57:49 +00:00
Thomas Adam
914815e70f
Merge branch 'obsd-master'
2024-10-21 16:01:07 +01:00
nicm
354926a956
Bump up the maximum for repeat-time (some people want it to be
...
effectively infinite).
2024-10-21 12:42:06 +00:00
nicm
df303770ea
Add function to get current offset from copy mode, from Michael Grant.
2024-10-21 12:39:49 +00:00
Thomas Adam
a269c33a54
Merge branch 'obsd-master'
2024-10-21 10:01:08 +01:00
nicm
eb04f9314b
Adjust how Ctrl and Meta keys are sent to use standard representation if
...
available in mode 1, from Stanislav Kljuhhin, GitHub issue 4188.
2024-10-21 07:38:06 +00:00
Thomas Adam
a9d0461839
Merge branch 'obsd-master'
2024-10-17 20:01:07 +01:00
nicm
71aa4fe767
Switch pane-colors and cursor-style options to be in alphabetical order,
...
from Teubel Gyorgy, GitHub issue 4191.
2024-10-17 17:22:01 +00:00
nicm
cfd3c02306
Allow attributes in menu style, from Japin Li in GitHub issue 4194.
2024-10-17 17:10:41 +00:00
Thomas Adam
35104059ed
Merge branch 'obsd-master'
2024-10-15 00:01:10 +01:00
nicm
934035db71
Set ACS flag for REP. Reported by Romain Francoise, GitHub issue 4182.
2024-10-14 20:26:45 +00:00
Nicholas Marriott
8ff65230e1
Optimize sixel_print. Previously, the algorithm scanned each pixel several
...
times; once to find out which colors are active, and then once for every single
active color to actually construct the output string.
Now it constructs the compressed sixel patterns in the first pass (now x * 12
iters), so we can reduce the second pass (the really expensive part, at active
colors * x * 6 iters) to just appending these to the output buffer.
From nincsnevem662 at gmail dot com in GitHub issue 4184.
2024-10-14 11:05:59 +01:00
Thomas Adam
cb00e869ea
Merge branch 'obsd-master'
2024-10-12 12:01:09 +01:00
nicm
f8b56fdc3f
Call realpath on the source file to match -f on the command line, GitHub
...
issue 4180.
2024-10-12 08:20:32 +00:00
nicm
2d8b6fcf23
Do not rename a buffer to itself, GitHub issue 4181.
2024-10-12 08:13:52 +00:00
Nicholas Marriott
6ddee22f81
Portable tmux needs to check ENABLE_SIXEL.
2024-10-10 12:07:29 +01:00
Thomas Adam
66c738bc10
Merge branch 'obsd-master'
2024-10-10 12:01:08 +01:00
nicm
bcc47add38
Add a sixel_support format variable which is 1 if SIXEL is supported
...
(always 0 on OpenBSD), requested by Misaki Masa in GitHub issue 4177
2024-10-10 10:41:33 +00:00
Thomas Adam
d326c51d79
Merge branch 'obsd-master'
2024-10-08 12:01:09 +01:00
nicm
940fdf7ed0
Draw pane status line on the correct line when at the bottom, fixes
...
issues if the window size is smaller than the entire terminal. GitHub
issue 3943.
2024-10-08 09:40:50 +00:00
Thomas Adam
4f5d6d97d3
Merge branch 'obsd-master'
2024-10-08 10:01:08 +01:00
nicm
00412b570b
Put the prompt cursor attributes into the status line screen and use
...
that rather than updating the current screen (since there might not be
one).
2024-10-08 06:29:44 +00:00
Thomas Adam
6a35b8ad07
Merge branch 'obsd-master'
2024-10-07 16:01:08 +01:00
nicm
735082b7c2
Add prompt-cursor-colour and prompt-cursor-style to set the style of the
...
cursor in the command prompt and remove the emulated cursor, from
Alexander Arch in GitHub issue 4170.
2024-10-07 12:58:36 +00:00
Thomas Adam
5b7bdc82c8
Merge branch 'obsd-master'
2024-10-07 12:01:08 +01:00
nicm
a3dea81b49
Add initial-repeat-time option to allow the first repeat time to be
...
increased and later reduced, from David le Blanc in GitHub issue 4164.
2024-10-07 08:50:47 +00:00
Thomas Adam
486221f206
Merge branch 'obsd-master'
2024-10-06 12:01:07 +01:00
nicm
9528d7470b
Try to stay near the same line in modes if the current one is removed.
2024-10-06 09:30:22 +00:00
Thomas Adam
933d6b90ed
Merge branch 'obsd-master'
2024-10-05 16:01:07 +01:00
nicm
a869693405
Send focus events to pane when entering or leaving popup, GitHub issue
...
3991.
2024-10-05 12:10:16 +00:00
Nicholas Marriott
549c35b061
Update regression tests.
2024-10-05 07:01:16 +01:00
Nicholas Marriott
42959db0a4
Update CHANGES.
2024-10-05 07:00:22 +01:00
Thomas Adam
114977dd25
Merge branch 'obsd-master'
2024-10-05 04:01:08 +01:00
Thomas Adam
aba8ffbe7b
Merge branch 'obsd-master'
2024-10-05 02:01:07 +01:00
nicm
455a2b3705
Remove some debugging left behind.
2024-10-05 00:35:35 +00:00
nicm
e0638c48cd
Add copy-mode-position-format to configure the position indicator.
2024-10-05 00:32:55 +00:00
nicm
41f6b691e3
Document missing window-layout-changed hook.
2024-10-04 22:36:11 +00:00
Nicholas Marriott
0f30fa34e3
Add install step.
2024-10-04 23:29:36 +01:00
Thomas Adam
e486f5ffdc
Merge branch 'obsd-master'
2024-10-04 22:01:09 +01:00
nicm
5a68730e2f
Add -y flag to disable confirmation prompts in modes, GitHub issue 4152.
2024-10-04 19:16:13 +00:00
Nicholas Marriott
7997fd3152
Missing define.
2024-10-04 18:59:53 +01:00
nicm
048db82041
Do not translate BSpace as Unicode, GitHub issue 4156.
2024-10-04 18:45:36 +01:00
Thomas Adam
16b44d2a5b
Merge branch 'obsd-master'
2024-10-04 18:01:07 +01:00
nicm
34775fc235
Do not translate BSpace as Unicode, GitHub issue 4156.
2024-10-04 14:55:17 +00:00
Thomas Adam
f2fd8c854a
Merge branch 'obsd-master'
2024-10-04 10:01:08 +01:00
nicm
9f2a853d87
Rework of copy mode commands ("send-keys -X") to parse the arguments so
...
that flags may be detected propertly rather than just looking for
strings ("-O" and so on). Also add -C and -P flags to the copy commands:
-C prevents the commands from sending the text to the clipboard and -P
prevents them from adding the text as a paste buffer.
Note some of the default key bindings change to add "--" and any similar
custom key bindings using "send-keys -X" may need a similar change.
GitHub issue 4153.
2024-10-04 07:03:08 +00:00
Nicholas Marriott
7a78cdf78c
Three SIXEL improvements from nincsnevem662 at gmail dot com in GitHub issue
...
4149:
- Pass P2 on the received image through when forwarding the image to the
outside terminal to preserve transparency;
- Preserve raster attribute dimensions which may be smaller than the actual
image (used to crop out parts of the image to work around the limitation that
rows must come in groups of six);
- To avoid collapsing empty sixel lines, no longer ignore duplicate "-" new
line specifiers.
2024-10-04 07:49:07 +01:00
nicm
356887bca2
Improve fix for shifted keys so it works for all the keys it should,
...
Stanislav Kljuhhin in GitHub issue 4146.
2024-10-03 08:14:32 +01:00
Thomas Adam
2df15ad08c
Merge branch 'obsd-master'
2024-10-03 08:01:07 +01:00
nicm
780a87be9a
Improve fix for shifted keys so it works for all the keys it should,
...
Stanislav Kljuhhin in GitHub issue 4146.
2024-10-03 05:41:59 +00:00
Nicholas Marriott
1e303b6a9d
Bypass permission check for Cygwin, based on a different change by Yuya Adachi
...
via Rafael Kitover; GitHub issue 4148.
2024-10-02 14:04:06 +01:00
Thomas Adam
8d2aee34ab
Merge branch 'obsd-master'
2024-10-02 14:01:10 +01:00
nicm
05116cefe6
Add MSYSTEM to default update-environment.
2024-10-02 11:51:15 +00:00
nicm
ce4be58eef
Add a define for the socket permissions check so it can be overridden
...
more easily (for Cgywin).
2024-10-02 11:48:16 +00:00
Nicholas Marriott
8d6eb4be40
Set client stdout file descriptor also for Cgywin, from Michael Wild via Rafael
...
Kitover in GitHub issue 4148.
2024-10-02 12:16:24 +01:00
nicm
834ec91b44
Report shifted keys like S-A as A not as S-A in mode 1 extended keys,
...
from Stanislav Kljuhhin.
2024-10-02 11:06:53 +01:00
Thomas Adam
38c38f1c64
Merge branch 'obsd-master'
2024-10-02 10:01:08 +01:00
nicm
ddf6af79e3
Report shifted keys like S-A as A not as S-A in mode 1 extended keys,
...
from Stanislav Kljuhhin.
2024-10-02 08:06:45 +00:00
Thomas Adam
826ba515be
Merge branch 'obsd-master'
2024-10-01 14:01:08 +01:00
Nicholas Marriott
729bded8bf
Fix up regression tests.
2024-10-01 13:40:42 +01:00
nicm
b95a06d2d4
Add a way to make the preview larger in tree mode, GitHub issue 4124.
2024-10-01 10:10:29 +00:00
Thomas Adam
157d748949
Merge branch 'obsd-master'
2024-10-01 10:01:10 +01:00
nicm
1c1f4c1219
Use global cursor style and colour options for modes instead of default,
...
GitHub issue 4117.
2024-10-01 08:01:19 +00:00
nicm
17bab32794
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.
2024-10-01 06:15:47 +00:00
Nicholas Marriott
868ddf5d38
3.5a bits.
2024-09-30 13:09:50 +01:00
nicm
a1b7a3bcb3
Only use default-shell for popups, return to /bin/sh for run-shell,
...
if-shell and #() - these have been documented as using /bin/sh for a
long time and scripts rely on it. Pointed out by Gregory Pakosz.
2024-09-30 13:07:46 +01:00
nicm
cbd419c483
Fix grey colour, from Magnus Gross.
2024-09-30 13:06:55 +01:00
Thomas Adam
25b1cc1e8e
Merge branch 'obsd-master'
2024-09-30 12:01:11 +01:00
nicm
89adec0ca5
On some Windows terminals, if TIOCWINSZ does not return xpixel and
...
ypixel (they are zero), if this is the case then try the query escape
sequences. From Dmitry Galchinsky in GitHub issue 4099.
2024-09-30 08:10:20 +00:00
nicm
f95d055e04
Only use default-shell for popups, return to /bin/sh for run-shell,
...
if-shell and #() - these have been documented as using /bin/sh for a
long time and scripts rely on it. Pointed out by Gregory Pakosz.
2024-09-30 07:54:51 +00:00
Thomas Adam
7b148f7b5b
Merge branch 'obsd-master'
2024-09-29 22:01:09 +01:00
nicm
9bd039d1bc
Fix grey colour, from Magnus Gross.
2024-09-29 20:05:42 +00:00
Nicholas Marriott
7c30056d96
Bump to 3.6.
2024-09-27 08:58:00 +01:00
Nicholas Marriott
ac44566c9c
tmux 3.5.
2024-09-27 08:56:39 +01:00
Thomas Adam
64f1076d97
Merge branch 'obsd-master'
2024-09-17 00:01:09 +01:00
nicm
489c69f5ed
Add copy mode commands which were missed when descriptions were added,
...
from Julian Prein, GitHub issue 4121.
2024-09-16 20:46:58 +00:00
nicm
f897049935
Change the behaviour of extended-keys always slightly so that
...
applications can still enter mode 2 if they want, they just cannot turn
extended keys off entirely. From Stanislav Kljuhhin.
2024-09-16 20:38:48 +00:00
nicm
d8b66110f7
Add a prefix timeout option, from Conor Taylor in GitHub issue 4108.
2024-09-16 20:28:22 +00:00
Nicholas Marriott
8b1a3bb2e5
Only default --enable-debug if the user has not turned it off, from Ken Lau.
2024-09-16 21:19:43 +01:00
Thomas Adam
37771a5a8d
Merge branch 'obsd-master'
2024-09-11 22:01:10 +01:00
nicm
3a8a31d8d2
Mouse move keys are not useful as key bindings because we do not turn
...
them on unless the application requests them. Ignore them so they do not
cause the prefix to be canceled, GitHub issue 4111.
2024-09-11 19:12:33 +00:00
Nicholas Marriott
c36ffcbe56
Typo from Bastian Venthur.
2024-09-06 13:09:43 +01:00
Thomas Adam
3d8ead8a97
Merge branch 'obsd-master'
2024-08-28 10:27:21 +01:00
nicm
141cd78407
Display hyperlinks in copy mode and add copy_cursor_hyperlink format to
...
get the hyperlink under the cursor.
2024-08-27 07:49:07 +00:00
nicm
d0c8124661
Add search_count and search_count_partial formats in copy mode, GitHub
...
issue 4091.
2024-08-27 07:31:26 +00:00
nicm
2917bc5274
Do not reset mouse pane if clicked on status line, it may have been set
...
by a range.
2024-08-27 07:25:27 +00:00
nicm
2d1e93447e
Use strtonum instead of atoi.
2024-08-26 13:02:15 +00:00
nicm
31b6c9356c
C-h should not be treated specially and represented internally as \b but
...
as C-h like the other Ctrl keys. Backspace is already handled separately
if it VERASE.
2024-08-26 07:45:05 +00:00
nicm
9e2a7c28f5
Pass the screen_redraw_ctx struct into more functions instead of
...
individual arguments (for example for the pane status), from Michael
Grant.
2024-08-26 07:34:40 +00:00
nicm
73b2277af8
Client flags was changed to uint64_t a while ago, fix a few cases where
...
it is still int (do not matter now but will with some new flags). From
Michael Grant.
2024-08-26 07:30:46 +00:00
nicm
a84c109604
Add window_pane_mode helper function to tell if a pane is in copy mode,
...
from Michael Grant.
2024-08-26 07:14:40 +00:00
nicm
4823acca8f
Add copy-mode -d flag to scroll a page down if in copy mode already,
...
from Michael Grant.
2024-08-26 07:09:34 +00:00
Thomas Adam
34807388b0
Merge branch 'obsd-master'
2024-08-23 16:01:10 +01:00
nicm
08be883297
Ignore internal function keys if they have not got an entry in the key
...
table.
2024-08-23 13:25:39 +00:00
Thomas Adam
13bd0e46db
Merge branch 'obsd-master'
2024-08-23 14:01:08 +01:00
nicm
6e9a914014
Check for exact match for layout name before looking for a prefix match.
2024-08-23 10:19:06 +00:00
Thomas Adam
7990e5fa8f
Merge branch 'obsd-master'
2024-08-22 12:01:07 +01:00
nicm
4860a58d07
Clear overlay when command prompt is entered. Also fix some spacing in
...
man page pointed out by jmc.
2024-08-22 09:05:51 +00:00
Thomas Adam
99af9f23bd
Merge branch 'obsd-master'
2024-08-22 08:01:08 +01:00
nicm
9ebbe2cca7
Short Ctrl keys like ^A need to be converted to lowercase so they end up
...
as 'a'|KEYC_CTRL to match the new internal representation. Problem
reported by naddy@.
2024-08-22 05:39:55 +00:00
Thomas Adam
692bae9ea6
Merge branch 'obsd-master'
2024-08-21 08:01:09 +01:00
nicm
a6645c4de4
Mention that load- and save-buffer can use stdin, from Ramon Fischer.
2024-08-21 05:06:45 +00:00
nicm
06292baadc
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.
2024-08-21 05:03:13 +00:00
nicm
ceda0a68ae
C-Space and Meta keys should not be translated in mode 1 extended keys.
2024-08-21 04:55:57 +00:00
nicm
4fa90c9acf
Set the default for extended-keys back to off because it appears emacs turns
...
the keys on but does not correctly handle them except in xterm (!). Also fix so
that off takes effect as expected.
2024-08-21 04:37:42 +00:00
nicm
c7e61a01e5
Revamp extended keys support to more closely match xterm and support
...
mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038).
This changes tmux to always request mode 2 from parent terminal, change
to an unambiguous internal representation of keys, and adds an option
(extended-keys-format) to control the format similar to the xterm(1)
formatOtherKeys resource.
2024-08-21 04:17:09 +00:00
Thomas Adam
963e824f5f
Merge branch 'obsd-master'
2024-08-19 12:01:09 +01:00
nicm
de6bce057a
Allow REP to work with Unicode characters, GitHub issue 3687.
2024-08-19 08:31:36 +00:00
nicm
937ba1d8dd
Both terminators \007 and \033\\ leave the index pointing to the final
...
character of the terminator, so correct the size calculation to always
add one. GitHub issue 4082.
2024-08-19 08:29:16 +00:00
Thomas Adam
651891c3bd
Merge branch 'obsd-master'
2024-08-04 12:01:09 +01:00
nicm
4008e2ff6d
Make a little effort to treate CRLF as LF in config files. GitHub issue
...
3720.
2024-08-04 09:42:23 +00:00
nicm
b88130d24b
The Linux console has some bugs with bright colours. It seems likely
...
that it is emulating them by setting a bright (or bold) flag; however,
when the colour is changed from a bright colour (say SGR 96) to a
non-bright (say SGR 36), the flag is not reset, so the new colour
remains as bright. SGR 39 (default colour) also does not reset, so you
end up with the bright default colour. Work around this by sending SGR 0
when switching away from a bright colour, and disable AX for TERM=linux.
Also make the check for AX simpler and do not check for the op
capability is not actually used. GitHub issue 3976.
2024-08-04 09:35:30 +00:00
nicm
fc7ee7efc7
-l should be before -r, pointed out by jmc a while ago.
2024-08-04 09:01:18 +00:00
Nicholas Marriott
d0eb3fe543
Use terminal-features instead of terminal-overrides to enable truecolor support
...
in example_tmux.conf, from Simon Hengel.
2024-08-04 09:59:18 +01:00
Nicholas Marriott
2ac0faf119
If built with systemd, remove some environment variables it uses. From Ciprian
...
Dorin Craciun, GitHub issue 4035.
2024-08-04 09:58:13 +01:00
Nicholas Marriott
775789fbd5
Rename header guards on compat/queue.h to avoid it conflicting if the system
...
header is included first. This matters on some platforms (macOS) where queue.h
is old. From Saagar Jha in GitHub issue 4041.
2024-08-04 09:57:26 +01:00
nicm
7b6fbe7262
Adjust the logic when deleting last buffer to better preserve the
...
selection: if selecting the element below the deleted one fails (because
as the last one), select the one above it instead. From Daniel Mueller,
GitHub issue 4043.
2024-08-04 08:53:43 +00:00
Thomas Adam
109d2bda1a
Merge branch 'obsd-master'
2024-07-22 18:01:09 +01:00
nicm
ddd4e57c65
Expand full array option values if no index is provided, GitHub issue
...
4051.
2024-07-22 15:27:42 +00:00
Nicholas Marriott
3c2621b41b
Support building with jemalloc memory allocator, from Romain Francoise.
2024-07-15 11:25:15 +01:00
Nicholas Marriott
5039be657c
utf8proc bits for utf8_fromwc.
2024-07-12 14:30:56 +01:00
Thomas Adam
d02254f754
Merge branch 'obsd-master'
2024-07-12 14:01:09 +01:00
nicm
aa1353947e
UTF-8 keys now contain the internal representation and not the Unicode
...
codepoint, so convert extended keys properly. From Stanislav Kljuhhin.
2024-07-12 11:21:18 +00:00
Nicholas Marriott
171004dfd0
Use mdoc on Illumos which uses mandoc, from Andy Fiddaman.
2024-07-08 10:57:32 +01:00
Thomas Adam
c773fe89e7
Merge branch 'obsd-master'
2024-06-24 12:01:10 +01:00
nicm
093b5a5518
Add a way (refresh-client -r) for control mode clients to provide OSC 10
...
and 11 responses to tmux so they can set the default foreground and
background colours, from George Nachman in GitHub issue 4014.
2024-06-24 08:30:50 +00:00
nicm
db1665868f
Check the underline style colour against the correct default value again
...
(it was changed from 0 to 8), from Romain Francoise.
2024-06-24 08:11:46 +00:00
Thomas Adam
c07e856d24
Merge branch 'obsd-master'
2024-05-24 16:01:08 +01:00
nicm
692ce59bce
Do not escape $ unless DQ is set, that is the only case where we need to
...
escape it.
2024-05-24 12:41:24 +00:00
nicm
9e7c1aee48
Add N to search backwards in tree modes, from Fadi Afani in GitHub issue
...
3982.
2024-05-24 12:39:06 +00:00
Thomas Adam
4c2eedca5a
Merge branch 'obsd-master'
2024-05-19 06:01:09 +01:00
jsg
ac6c1e9589
remove prototype with no matching function
2024-05-19 03:27:58 +00:00
Thomas Adam
0903790b00
Merge branch 'obsd-master'
2024-05-18 12:01:09 +01:00
jsg
03de52653e
remove prototypes with no matching function; ok nicm@
2024-05-18 08:51:26 +00:00
jsg
da06719309
remove externs with no matching var; ok nicm@
2024-05-18 08:50:11 +00:00
Thomas Adam
fc84097379
Merge branch 'obsd-master'
2024-05-15 14:01:09 +01:00
Thomas Adam
4fd725c6e1
Merge branch 'obsd-master'
2024-05-15 12:01:10 +01:00
nicm
d39dcea30a
Use default-shell for command prompt #() and popups as well
2024-05-15 09:59:12 +00:00
nicm
bfd65398a9
Fix memory leaks reported by Lu Ming Yin.
2024-05-15 08:39:30 +00:00
Thomas Adam
452d987e0e
Merge branch 'obsd-master'
2024-05-14 14:01:10 +01:00
Thomas Adam
8ef899f315
Merge branch 'obsd-master'
2024-05-14 12:01:09 +01:00
nicm
a18d1146aa
Add missing time.h to tty.c (from Ismail Donmez), also remove some stray
...
spaces.
2024-05-14 10:11:09 +00:00
nicm
5b5004e5ac
Revert part of the change for GitHub issue 3675 because it does not work
...
correctly, it was intended to skip lines that are already being searched
as part of a previous wrapped line but in fact is skipping all lines
except the last in wrapped lines.
Also revert the search-wrapped-lines option (I didn't realize it was
intended to work around this).
2024-05-14 09:32:37 +00:00
Thomas Adam
6ff8f8fbf9
Merge branch 'obsd-master'
2024-05-14 10:01:10 +01:00
nicm
c9616700ca
Add a command-error hook when a command fails, from Hugh Davenport in
...
GitHub issue 3973.
2024-05-14 07:52:19 +00:00
nicm
4c928dce74
Add an option to disable unwrapping lines for searching, from
...
meanderingprogrammer at gmail dot com, GitHub issue 3975.
2024-05-14 07:40:39 +00:00
nicm
fb37d52dde
Restore previous behaviour or writing to stdout if available.
2024-05-14 07:33:01 +00:00
Thomas Adam
363d9c401e
Merge branch 'obsd-master'
2024-05-13 14:01:10 +01:00
nicm
8643ece345
Fix memory leak, from Fadi Afani.
2024-05-13 11:45:05 +00:00
Nicholas Marriott
9ba433e521
Use printf not echo -e, from Joyce Lin.
2024-05-13 12:42:14 +01:00
Nicholas Marriott
3823fa2c57
Send SIGHUP since some programs ignore SIGTERM, from Eduardo Grajeda in GitHub
...
issue 3958.
2024-04-30 12:38:58 +01:00
Thomas Adam
0a8571b6fe
Merge branch 'obsd-master'
2024-04-23 16:09:50 +01:00
jsg
ea9f416c99
correct indentation; no functional change
...
ok tb@
2024-04-23 13:34:51 +00:00
Thomas Adam
036d8993e6
Merge branch 'obsd-master'
2024-04-15 12:01:11 +01:00
nicm
e8530c9fee
Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu.
2024-04-15 08:19:55 +00:00
Nicholas Marriott
dd4c0109a9
Missing headers for Android, from Biswapriyo Nath.
2024-04-15 09:07:41 +01:00
Thomas Adam
43530d4397
Merge branch 'obsd-master'
2024-04-10 10:01:13 +01:00
nicm
553d4cba79
Add an option allow-set-title to forbid applications from changing the
...
pane title, from someone in GitHub issue 3930.
2024-04-10 07:36:25 +00:00
nicm
c62a9ca16b
Correct handling of mouse up events (don't ignore all but the last
...
released button), and always process down event for double click. From
Rudy Dellomas III in GitHub issue 3919.
2024-04-10 07:29:15 +00:00
nicm
424f13fe13
Do not get muddled and crash if focusing a pane that is exiting,
...
reported by Saul Nogueras in GitHub issue 3776.
2024-04-10 07:15:21 +00:00
Thomas Adam
4bb6da75ba
Merge branch 'obsd-master'
2024-04-05 02:01:09 +01:00
nicm
a28175dbfd
Pick newest session as documented, not oldest, from Magnus Gross.
2024-04-04 22:44:40 +00:00
Thomas Adam
fc204bb5e5
Merge branch 'obsd-master'
2024-03-26 12:01:11 +00:00
nicm
6207a45139
Fix selection present check, reported by M Kelly.
2024-03-26 10:20:20 +00:00
Thomas Adam
3c3643f580
Merge branch 'obsd-master'
2024-03-21 14:01:10 +00:00
nicm
89c1c43ef9
Write padding character into the right position.
2024-03-21 12:10:57 +00:00
nicm
2e9d7ebf15
Reduce escape-time default to 10 milliseconds, 500 is far too long for
...
modern terminals and networks. Case made by Kurtis Rader in GitHub issue
3844.
2024-03-21 11:53:11 +00:00
nicm
d8ddeec7db
Add -M to always turn mouse on in a menu, GitHub issue 3779.
2024-03-21 11:51:32 +00:00
nicm
6f0254e6a8
Look for feature code 21 for DECSLRM and 28 for DECFRA in the device
...
attributes and also accept level 1 (there is no hardware with this but
some emulators may use it). Pointed out by James Holderness.
2024-03-21 11:47:55 +00:00
Nicholas Marriott
aa17f0e0c1
Fix crash if SIXEL colour register is invalid and remove SIXEL images before
...
reflow to avoid a different crash, from Anindya Mukherjee.
2024-03-21 11:37:09 +00:00
nicm
0ae8b681b2
Use -p for default paste-buffer command in buffer mode, it will only do
...
anything if the application asked for it. From Gregory Anders.
2024-03-21 11:32:49 +00:00
nicm
6c0067c103
Do not notify window-layout-changed if the window is about to be
...
destroyed (since it may have been freed by the time the notify happens),
from Romain Francoise in GitHub issue 3860.
2024-03-21 11:30:42 +00:00
nicm
5458cb2850
Revert detach-client part of last, did not intend this to go in.
2024-03-21 11:27:18 +00:00
nicm
0c374868ca
Do not consider a selection present if it is empty, from Michael Grant
...
(GitHub issue 3869). Also a typo fix from GitHub issue 3877.
2024-03-21 11:26:28 +00:00
Nicholas Marriott
bf5d3f2e26
Typo, GitHub issue 3877.
2024-03-21 11:19:59 +00:00
Nicholas Marriott
d5ef837f63
Remove duplicate .tmux.conf mention, from Valentin Rylenko.
2024-03-21 11:18:49 +00:00
Thomas Adam
b79e28b2c3
Merge branch 'obsd-master'
2024-03-13 14:01:09 +00:00
nicm
8ffd5458ff
Make the attach-session description clearer - do not mention creating a
...
client which is not important, explicitly say the session must exist,
and mention new-session and new-session -A. Prompted by Theo.
2024-03-13 11:25:50 +00:00
Thomas Adam
b54e1fc4f7
Merge branch 'obsd-master'
2024-03-07 00:01:10 +00:00
Nicholas Marriott
bdb6321229
Update lock.yml.
2024-03-06 21:45:26 +00:00
nicm
bd29a48b56
Check for the right flag to fix split-window -p, from Bryan Childs.
2024-03-06 21:32:39 +00:00
Nicholas Marriott
f3f1c3db58
Add missing headers, from Marvin Schmidt.
2024-03-06 21:29:28 +00:00
Nicholas Marriott
608d113486
next-3.5
2024-02-13 10:20:18 +00:00
Nicholas Marriott
9ae69c3795
3.4.
2024-02-13 10:17:07 +00:00
Thomas Adam
0960862950
Merge branch 'obsd-master'
2024-02-13 10:01:10 +00:00
Nicholas Marriott
44ad25b367
Update CHANGES.
2024-02-13 09:12:08 +00:00
nicm
40b97b1715
Add two new values for the destroy-unattached option to destroy sessions
...
only if they are not members of sessions groups, from Mark Huang, GitHub
issue 3806.
2024-02-13 08:10:23 +00:00
nicm
4bdb855020
Do not allow paste into panes which have exited, from Romain Francoise
...
in GitHub issue 3830.
2024-02-13 08:03:50 +00:00
Thomas Adam
ea7136fb83
Merge branch 'obsd-master'
2024-01-22 18:01:09 +00:00
nicm
428f8a9b28
Increase buffer size to avoid truncating styles, GitHub issue 3809 from
...
Ricardo Bittencourt.
2024-01-22 16:34:46 +00:00
Nicholas Marriott
84faada25b
Remove existing defines.
2024-01-17 10:59:07 +00:00
Nicholas Marriott
55d0abad89
Need htonll and ntohll.
2024-01-17 10:57:32 +00:00
Nicholas Marriott
7d91b4b90b
htobe is not portable.
2024-01-17 09:47:35 +00:00
Nicholas Marriott
66369416fc
Update imsg.
2024-01-17 09:41:53 +00:00
Thomas Adam
001e26d0bb
Merge branch 'obsd-master'
2024-01-16 14:01:09 +00:00
claudio
2e39d698d2
Use imsg_get_fd() instead of direct access to imsg.fd
...
The change in proc.c can be further simplified once imsg_free() takes
care of unclaimed file descriptors.
OK nicm@
2024-01-16 13:09:11 +00:00
Thomas Adam
e809c2ec35
Merge branch 'obsd-master'
2024-01-03 19:17:10 +00:00
Nicholas Marriott
4266d3efc8
Assignment should be inside SIXEL.
2023-12-28 03:12:27 +00:00
nicm
40a20bc8ae
Only wrap pattern in *s if using a regular expression.
2023-12-27 20:42:01 +00:00
nicm
f7bf7e9671
Remove flags from the prefix before comparing with the received key so
...
that modifier keys with flags work correctly, GitHub issue 3764.
2023-12-27 20:23:59 +00:00
nicm
008ecd4592
groff apparently generates broken output for some common characters in
...
mdoc, so escaped versions have to be used instead. From Alexis
Hildebrandt in GitHub issue 3762.
2023-12-27 20:20:50 +00:00
nicm
73a2b12088
Always initialize screen mode, GitHub issue 3750 from Ding Fei.
2023-12-27 20:17:13 +00:00
Nicholas Marriott
605bf21ff2
Do not use NULL window, GitHub issue 3747.
2023-12-27 20:15:57 +00:00
nicm
f028445407
Correctly handle window ops with no pane, GitHub issue 3747.
2023-12-27 20:13:35 +00:00
Thomas Adam
bdf8e614af
Merge branch 'obsd-master'
2023-11-14 22:01:09 +00:00
nicm
4dea352dee
Don't strdup NULL filename.
2023-11-14 20:01:11 +00:00
Thomas Adam
151875d144
Merge branch 'obsd-master'
2023-11-14 18:01:10 +00:00
nicm
88fd1f00b8
Handle NULL client (in config file) when showing a status message; also
...
copy the file when processing if-shell since it may be freed. GitHub
issue 3746.
2023-11-14 15:59:49 +00:00
nicm
1a14d6d2e1
Use SM 2026 for Sync which is more widely supported now.
2023-11-14 15:38:33 +00:00
Thomas Adam
381c00a74e
Merge branch 'obsd-master'
2023-11-02 22:58:45 +00:00
nicm
5aadee6df4
next-prompt can have 1 argument.
2023-11-02 10:38:14 +00:00
Nicholas Marriott
a5545dbc9f
Allow attributes to have only two parameters, from Tim Culverhouse.
2023-11-01 10:37:41 +00:00
nicm
fdf465925e
Do not allow combined UTF-8 characters that are too long, GitHub issue
...
3729.
2023-10-30 16:05:30 +00:00
nicm
36e1ac6556
Unzoom window at start of destroy so it doesn't happen later (when
...
destroying panes) after the layout has been freed, GitHub issue 3717.
2023-10-23 08:12:00 +00:00
nicm
ffa376edf7
Switch to tiparm_s (added in ncurses 6.4-20230424) instead of tparm,
...
which allows ncurses to validate the capabilities correctly.
2023-10-17 09:55:32 +00:00
Thomas Adam
b777780720
Merge branch 'obsd-master'
2023-09-19 12:01:11 +01:00
nicm
347cd0b5f8
Fix a couple of mouse mode flag names.
2023-09-19 08:35:44 +00:00
Nicholas Marriott
0ca28b362e
Add combined character test.
2023-09-19 09:29:20 +01:00
Nicholas Marriott
51b80b985e
Restore utf8proc code.
2023-09-19 09:29:04 +01:00
Nicholas Marriott
789a98982e
Reply to SMGRAPHICS.
2023-09-19 09:27:59 +01:00
Thomas Adam
b202a2f1b5
Merge branch 'obsd-master'
2023-09-17 21:03:06 +01:00
nicm
7e79108f8a
Remove next- and previous-prompt added in error. GitHub issue 3696.
2023-09-16 16:18:29 +00:00
nicm
f09cde2542
Change UTF-8 combining to inspect the previous character at the cursor
...
position rather than keeping the last character from the input stream,
this is how most terminals work and fixes problems with displaying these
characters in vim. GitHub issue 3600.
2023-09-15 15:49:05 +00:00
Thomas Adam
9f9156c030
Merge branch 'obsd-master'
2023-09-15 10:01:11 +01:00
nicm
d394293ba5
Add -t to source-file, GitHub issue 3473.
2023-09-15 06:31:49 +00:00
Thomas Adam
c57a09269b
Merge branch 'obsd-master'
2023-09-14 16:01:10 +01:00
nicm
8191c58737
Reset combine flag only if text is actually processed.
2023-09-14 13:01:35 +00:00
Thomas Adam
f68d35c529
Merge branch 'obsd-master'
2023-09-08 10:01:10 +01:00
nicm
c02bc4dbe9
On second thoughts, do check DA2 for DECFRA and DECSLRM since that will
...
catch terminals that say they are VT520 even if we can't use DA1
(because of VTE).
2023-09-08 07:05:06 +00:00
nicm
4872811ba7
Use DECSLRM and DECFRA only at level 4 rather than checking the terminal
...
id.
2023-09-08 06:52:31 +00:00
Nicholas Marriott
1a1290f30b
Only remove images if reverse index actually scrolls.
2023-09-07 22:02:11 +01:00
Nicholas Marriott
7be7ca7195
Shut autoconf up.
2023-09-07 18:24:28 +01:00
Thomas Adam
32197fa52d
Merge branch 'obsd-master'
2023-09-07 14:01:11 +01:00
nicm
9653a52a6a
Use DECSLRM and DECFRA on terminals pretending to be VT520 or VT525 as
...
well as VT420.
2023-09-07 10:21:46 +00:00
Thomas Adam
d60c8942ce
Merge branch 'obsd-master'
2023-09-07 10:01:10 +01:00
nicm
c99f9e92e0
Accept 65 for VT525 as well.
2023-09-07 07:19:21 +00:00
Thomas Adam
e26356607e
Merge branch 'obsd-master'
2023-09-04 10:01:10 +01:00
nicm
43e5e80343
Skip wrapped lines in top level search loop because they will be
...
combined in the inner loop (in window_copy_search_rl_regex and the
others), avoids searching the same text multiple times. Also add a line
length limit for regex searches. GitHub issue 3675.
2023-09-04 08:01:43 +00:00
Thomas Adam
1742138f05
Merge branch 'obsd-master'
2023-09-02 22:01:09 +01:00
nicm
c767d62329
Request terminal colours again on SIGWINCH but at most once every 30
...
seconds, GitHub issue 3582.
2023-09-02 20:03:10 +00:00
Thomas Adam
7ad29b9831
Merge branch 'obsd-master'
2023-09-02 12:01:09 +01:00
nicm
d209fe9b1e
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
...
issue 3627.
2023-09-02 09:17:23 +00:00
nicm
c5542637d7
Set visited flag on last windows when linking session.
2023-09-02 08:38:37 +00:00
Thomas Adam
e7c829fc67
Merge branch 'obsd-master'
2023-09-01 20:01:10 +01:00
nicm
579829eef2
Only compare the actual size of the UTF-8 character, not all of it.
2023-09-01 18:43:54 +00:00
Nicholas Marriott
3aa20f6e75
Use %05X not %08X.
2023-09-01 19:37:27 +01:00
nicm
f78279bb2e
Add missing -T to getopt string.
2023-09-01 16:40:38 +00:00
Thomas Adam
a99d7c6314
makefile: fixup bad merge
2023-09-01 17:13:55 +01:00
Thomas Adam
cf1ed67fcc
Merge branch 'obsd-master'
2023-09-01 17:09:41 +01:00
Thomas Adam
1aec420465
Merge branch 'obsd-master'
2023-09-01 17:06:27 +01:00
nicm
16e4b39359
Clear combine flag when a non-UTF-8 set of characters is encountered.
2023-09-01 16:01:54 +00:00
nicm
9456258ccc
Rewrite combined character handling to be more consistent and to support
...
newer Unicode combined characters (which we have to "know" are combined
since they are not width zero). GitHub issue 3600.
2023-09-01 14:29:11 +00:00
nicm
c41d59f232
Expand name before looking for window with -S, GitHub issue 3670.
2023-09-01 14:24:46 +00:00
Nicholas Marriott
d682ef88e6
Bump width and height to 10000.
2023-09-01 14:54:27 +01:00
nicm
c1e6e54e6e
Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.
2023-09-01 13:48:54 +00:00
Nicholas Marriott
62f657845e
Fix merge error, from Jakub Łukasiewicz.
2023-08-26 20:57:44 +01:00
Thomas Adam
a9841a6d1e
portable: fixup merge
2023-08-23 20:55:23 +01:00
Thomas Adam
70ecf17f85
Merge branch 'obsd-master'
2023-08-23 20:37:42 +01:00
nicm
71d453f169
Add -c to run-shell to set working directory, from someone in GitHub
...
issue 3661.
2023-08-23 08:40:25 +00:00
Nicholas Marriott
071849f82f
Improve logging of SIXEL parsing errors.
2023-08-23 09:30:20 +01:00
nicm
52084b2948
Log what input_dcs_dispatch does with the input data.
2023-08-23 08:30:07 +00:00
Nicholas Marriott
dfbc6b1888
Merge SIXEL branch.
...
Squashed commit of the following:
commit 6ebc3feb4671d9b25b3db99d3c16b2323b8e3d02
Author: topcat001 <anindya49@hotmail.com >
Date: Sun Aug 20 16:09:51 2023 -0700
Remove redundant {}.
commit 6f013fce39602c259a5be2d690d548c73e51cccc
Author: topcat001 <anindya49@hotmail.com >
Date: Sun Aug 20 16:02:15 2023 -0700
Revert "Do not defer redraw if it is just the status line (will need to do more here I"
This reverts commit 0a15bbf3f1 .
commit e6322b4196d73c975ba2e73633e6de9c46779059
Author: topcat001 <anindya49@hotmail.com >
Date: Sun Aug 20 15:46:59 2023 -0700
Fix placeholder label and clean up.
commit 5896ac52a1f72056a75480b3e1ada328f239df9b
Merge: ad982330 e3a8b843
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Fri Aug 18 17:00:03 2023 +0100
Merge branch 'master' into sixel
commit ad98233066b72547aee7fa0c87838847ee7f1ece
Author: topcat001 <anindya49@hotmail.com >
Date: Tue Aug 15 13:57:08 2023 -0700
Better text placeholder.
commit 312d83252c27fc4d09d09d121bf7573336e3cdca
Merge: 14b8b524 3d93b0c5
Author: topcat001 <anindya49@hotmail.com >
Date: Tue Aug 15 13:39:22 2023 -0700
Merge remote-tracking branch 'origin/master' into sixel
commit 14b8b524523a7d5a4e42f7dfa346905c604c91e2
Merge: 4baf7642 fda39377
Author: topcat001 <anindya49@hotmail.com >
Date: Sat Jul 22 17:29:10 2023 -0700
Merge branch 'master' into sixel
commit 4baf76422fadb216bf27b47645b52da3379e7dea
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Jun 21 07:43:53 2023 +0100
Both files can go on one line.
commit 4c92acf6ff24dde37ad41cd168ea2d3bcefb8567
Author: topcat001 <anindya49@hotmail.com >
Date: Sat Jun 17 17:53:01 2023 -0700
Merge topcat001/tmux/sixel.
commit 6794facc82e98f8448c192913cf62fe6e10fde63
Merge: 7b85f5ad f41c536f
Author: topcat001 <anindya49@hotmail.com >
Date: Sat Jun 17 17:21:02 2023 -0700
Merge remote-tracking branch 'origin/master' into sixel
commit 7b85f5adf9a5094db580ca98e4d2231d8d5b5a4f
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jun 8 12:55:03 2023 +0100
Do not require passthrough for SIXEL.
commit a6ee55e0925cac35d011c188db2da0421fc09be1
Merge: 6da391f4 fe385b18
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jun 8 12:19:55 2023 +0100
Merge branch 'master' into sixel
commit 6da391f460414ed3dde23e5ab6ca3fe8e988ce51
Merge: 0d71e585 0eb5d254
Author: topcat001 <anindya49@hotmail.com >
Date: Sat May 20 17:05:55 2023 -0700
Merge branch 'master' into sixel
commit 0d71e5853ffe797f90b815ac3af25ac0ad92ab07
Merge: 64368a1a fbe6fe7f
Author: topcat001 <anindya49@hotmail.com >
Date: Sat Apr 29 17:32:07 2023 -0700
Merge branch 'master' into sixel
commit 64368a1a63f04fb877b57e4286c9a2e1efe966c9
Merge: c630a56a 22eb0334
Author: topcat001 <anindya49@hotmail.com >
Date: Thu Mar 30 14:21:09 2023 -0700
Merge branch 'master' into sixel
commit c630a56a621b9761eed558cbd566a36cb09adf8f
Merge: 34c96c4c aaa043a2
Author: topcat001 <anindya49@hotmail.com >
Date: Thu Nov 10 18:53:01 2022 -0800
Merge branch 'master' into sixel
commit 34c96c4c4a33f86b49c8a53dc48b2b817db24e95
Merge: 2a1e16a2 50f4e0fa
Author: topcat001 <anindya49@hotmail.com >
Date: Sat Nov 5 18:05:36 2022 -0700
Merge branch 'master' into sixel
commit 2a1e16a24dc75741c66f5d72fa5bf26b73507993
Merge: a82f14c7 d001a94d
Author: topcat001 <anindya49@hotmail.com >
Date: Thu Oct 27 16:01:35 2022 -0700
Merge branch 'master' into sixel
commit a82f14c7b2
Merge: 742c0634 f7b30ed3
Author: topcat001 <anindya49@hotmail.com >
Date: Sun Aug 28 13:43:07 2022 -0700
Merge branch 'master' into sixel
commit 742c063473
Merge: 906c92a5 87b248f3
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Fri Apr 1 10:14:15 2022 +0100
Merge branch 'master' into sixel
commit 906c92a5f4
Merge: 6680a024 138ffc7c
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Dec 8 10:37:33 2021 +0000
Merge branch 'master' into sixel
commit 6680a024be
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Oct 7 13:59:08 2021 +0100
Fix build.
commit ebd2c58593
Merge: 90dc0519 fed7b29c
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Oct 7 13:19:48 2021 +0100
Merge branch 'master' into sixel
commit 90dc05191c
Merge: a282439f 4694afbe
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Feb 20 20:37:32 2020 +0000
Merge branch 'master' into sixel
commit a282439fcb
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jan 30 09:12:53 2020 +0000
Add missing declarations.
commit 3a741aacd1
Merge: 40ad0107 339832b9
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jan 30 09:11:01 2020 +0000
Merge branch 'sixel-passthrough' into sixel
commit 339832b92c
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jan 30 09:04:51 2020 +0000
Bad merge.
commit 92ed9fc0b2
Merge: 5bb07548 32be954b
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Jan 30 09:03:38 2020 +0000
Merge branch 'master' into sixel-passthrough
commit 40ad01073d
Merge: dd3c72f1 61b075a2
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Sun Jan 12 20:03:41 2020 +0000
Merge branch 'master' into sixel
commit 5bb075487f
Merge: 7c033a74 54efe337
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Dec 18 20:24:42 2019 +0000
Merge branch 'master' into sixel-passthrough
commit dd3c72f132
Merge: 1a0e5fe9 54efe337
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Dec 18 20:24:26 2019 +0000
Merge branch 'master' into sixel
commit 1a0e5fe933
Merge: cf071ffe 15d7e564
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Tue Dec 10 16:34:11 2019 +0000
Merge branch 'master' into sixel
commit cf071ffecd
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Mon Dec 9 15:41:56 2019 +0000
Remove images when reflow happens.
commit 2006b7a563
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 09:27:15 2019 +0000
More invalidation of images.
commit b642eac450
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 09:11:24 2019 +0000
Redraw and scroll images and part of invalidating them.
commit 7566e37a46
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 08:51:24 2019 +0000
Call sixel_scale with the right number of arguments.
commit 62c0280b23
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 08:48:58 2019 +0000
Correctly remove when not visible.
commit 86c5098a88
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 08:32:25 2019 +0000
Add helpers to scroll image up and a flag to copy the colours.
commit 49f2f0a8f1
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Dec 5 00:02:55 2019 +0000
Store images, currently at most 10.
commit 3aebcc6709
Merge: 146ee3f6 92ecd611
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Dec 4 19:27:16 2019 +0000
Merge branch 'master' into sixel
commit 7c033a74e2
Merge: 0a15bbf3 92ecd611
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Wed Dec 4 12:41:09 2019 +0000
Merge branch 'master' into sixel-passthrough
commit 146ee3f6f8
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Sat Nov 30 09:47:53 2019 +0000
Don't write image as text yet.
commit 0a15bbf3f1
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Sat Nov 30 09:15:35 2019 +0000
Do not defer redraw if it is just the status line (will need to do more here I
think).
commit a5b1e20941
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 14:20:22 2019 +0000
Add a flag to disable blocking while sending a SIXEL image (turned off when the
buffer hits 0 size).
commit 968382aa6a
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 12:35:18 2019 +0000
Pass through SIXEL DCS sequences (treat similarly to the passthrough escape
sequence) if it appears the terminal outside supports them.
commit b1904c9b8d
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Sat Nov 30 09:17:18 2019 +0000
Store SIXELs as a box for the moment.
commit 5d8dbcdf3d
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Sat Nov 30 09:15:35 2019 +0000
Do not defer redraw if it is just the status line (will need to do more here I
think).
commit 0c999a402e
Merge: 28961dd5 866b053f
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Fri Nov 29 18:54:09 2019 +0000
Merge branch 'master' into sixel
commit 28961dd5a3
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 14:24:57 2019 +0000
Add an image.
commit d2e3f3c1cc
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 14:20:22 2019 +0000
Add a flag to disable blocking while sending a SIXEL image (turned off when the
buffer hits 0 size).
commit e01df67ca1
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 13:21:40 2019 +0000
Crop and scale images as needed when drawing them.
commit e24acc0b5c
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 12:38:02 2019 +0000
Simple SIXEL parse and modify API.
commit b34111b3da
Author: Nicholas Marriott <nicholas.marriott@gmail.com >
Date: Thu Nov 28 12:35:18 2019 +0000
Pass through SIXEL DCS sequences (treat similarly to the passthrough escape
sequence) if it appears the terminal outside supports them.
2023-08-22 08:43:35 +01:00
Thomas Adam
e3a8b8434c
Merge branch 'obsd-master'
2023-08-17 18:01:09 +01:00
nicm
8636848e63
Add a session, pane and user mouse range types for the status line and
...
add format variables for mouse_status_line and mouse_status_range so
they can be associated with different commands in the key bindings.
GitHub issue 3652.
2023-08-17 14:10:28 +00:00
Thomas Adam
3d93b0c52e
Merge branch 'obsd-master'
2023-08-15 12:01:09 +01:00
nicm
d9942c769e
Add meta bindings for status line menus as well as the existing pane one
...
for terminals which steal the mouse menu button.
2023-08-15 09:51:48 +00:00
Thomas Adam
6a45e6c256
Merge branch 'obsd-master'
2023-08-15 10:01:09 +01:00
nicm
b770a429c6
Add an option menu-selected-style to configure the currently selected
...
menu item, from Alexis Hildebrandt.
2023-08-15 07:01:47 +00:00
Thomas Adam
11e69f6025
Merge branch 'obsd-master'
2023-08-11 20:01:09 +01:00
nicm
57837bbf67
Do not crash if in buffer mode and the last buffer is deleted using the
...
command.
2023-08-11 17:09:00 +00:00
Thomas Adam
4c60afde78
Merge branch 'obsd-master'
2023-08-08 12:01:10 +01:00
Thomas Adam
ed689cd54e
Merge branch 'obsd-master'
2023-08-08 10:01:11 +01:00
nicm
7a44984069
Add flag to next-prompt/previous-prompt to go to command output instead,
...
from Magnus Gross.
2023-08-08 08:21:29 +00:00
nicm
dee72ed41f
Add options and flags for menu styles similar to those existing for
...
popups, from Alexis Hildebrandt. GitHub issue 3650.
2023-08-08 08:08:47 +00:00
nicm
1071ef8fc5
Extend the menu drawing function to support custom characters and
...
styles, from Alexis Hildebrandt.
2023-08-08 07:41:04 +00:00
nicm
2b535bc173
Fix a couple of rounded border characters, from Alexis Hildebrandt.
2023-08-08 07:19:48 +00:00
Thomas Adam
b791f00bf1
Merge branch 'obsd-master'
2023-08-07 14:01:12 +01:00
Thomas Adam
3e82ad5340
Merge branch 'obsd-master'
2023-08-07 12:01:10 +01:00
nicm
7b1030293c
Free title earlier, from Alexis Hildebrandt.
2023-08-07 10:52:00 +00:00
nicm
a5fd80bbc3
Trim can generate strings longer than the original if there are many #s,
...
so create a bigger buffer. Reported by Robert Morris.
2023-08-07 10:04:29 +00:00
Thomas Adam
fda3937734
Merge branch 'obsd-master'
2023-07-19 16:01:09 +01:00
nicm
b13c230749
Correct visited flag when the last window list is rebuilt by renumbering
...
windows, appears to fix hang reported by Mark Kelly.
2023-07-19 13:03:36 +00:00
Thomas Adam
715f39a53a
Merge branch 'obsd-master'
2023-07-14 22:01:10 +01:00
nicm
2f74e811f1
Set extended keys flag again after reset, from Eric T Johnson.
2023-07-14 19:32:59 +00:00
Thomas Adam
828efc7bcf
Merge branch 'obsd-master'
2023-07-13 18:01:10 +01:00
nicm
84936b832f
Use 8 for underscore colour defaults instead of 0 which is less
...
confusing, and fix writing tge default colour. GitHub issue 3627.
2023-07-13 06:03:48 +00:00
Thomas Adam
c8494dff7b
Merge branch 'obsd-master'
2023-07-11 20:01:10 +01:00
nicm
8fcc212e7a
Remove Ns and Li and change Nm to Ic, suggested by jmc.
2023-07-11 16:09:09 +00:00
Thomas Adam
0e281530cb
Merge branch 'obsd-master'
2023-07-11 10:01:10 +01:00
nicm
efded95ed7
Add descriptions of copy mode commands, from Michael Bianco.
2023-07-11 07:34:23 +00:00
Thomas Adam
18870913c5
Merge branch 'obsd-master'
2023-07-10 14:01:12 +01:00
nicm
63b7282377
It should no longer be necessary to ignore SIGCHLD because it is now
...
blocked around daemon(), and doing so causes trouble with newer libevent
(it cannot restore the original handler). Reported by Azat Khuzhin in
GitHub issue 3626.
2023-07-10 12:00:08 +00:00
Thomas Adam
269dab4b3e
Merge branch 'obsd-master'
2023-07-10 12:01:12 +01:00
nicm
4ece43a029
Loop around waitpid in client, from Azat Khuzhin.
2023-07-10 09:35:46 +00:00
nicm
8b3e2eab5a
Use a stack for last panes line windows, from Thomas Bertschinger in
...
GitHub issue 3588.
2023-07-10 09:24:53 +00:00
Thomas Adam
e4c4ceb286
Merge branch 'obsd-master'
2023-07-10 02:01:11 +01:00
nicm
b7e22d00b4
Call closefrom after removing signals because newer libevent doesn't
...
like its signal fd being closed Azat Khuzhin.
2023-07-09 22:54:52 +00:00
Thomas Adam
1a11c972ae
Merge branch 'obsd-master'
2023-07-03 20:01:12 +01:00
nicm
43b841f188
Add support for marking lines with a shell prompt based on the OSC 133
...
extension, from Munif Tanjim in GitHub issue 3596.
2023-07-03 16:47:43 +00:00
Thomas Adam
f9b0460840
Merge branch 'obsd-master'
2023-07-03 14:01:10 +01:00
Thomas Adam
659d876cd5
Merge branch 'obsd-master'
2023-07-03 12:01:09 +01:00
nicm
ac43186dff
Do not risk writing over the end of the buffer when it ends in #
...
(because strchr \0 will be non-NULL), reported by Robert Morris in
GitHub issue 3610.
2023-07-03 10:48:26 +00:00
nicm
e79fb214f8
Another warning fix for GCC from Thomas Klausner.
2023-07-03 08:37:14 +00:00
Thomas Adam
9cf58d1a52
Merge branch 'obsd-master'
2023-07-01 02:01:10 +01:00
nicm
a2a02fd7d7
Change a few types to fix warnings, from Thomas Klausner.
2023-06-30 21:55:08 +00:00
Thomas Adam
237ee6f231
Merge branch 'obsd-master'
2023-06-30 16:01:10 +01:00
nicm
4e57894e85
Get rid of some warnings with GCC 10, from Thomas Klausner.
2023-06-30 13:19:32 +00:00
Nicholas Marriott
8c9fbbf4f3
Add libterminfo for NetBSD, from Thomas Klausner.
2023-06-29 15:31:32 +01:00
Thomas Adam
3f3d61bd58
Merge branch 'obsd-master'
2023-06-26 12:01:09 +01:00
Thomas Adam
80d4f4afc6
Merge branch 'obsd-master'
2023-06-26 10:01:10 +01:00
nicm
2546216019
When exiting alternate screen, there is no need to reflow when going
...
back to old size since the contents will be overwritten. GitHub issue
3510.
2023-06-26 08:14:19 +00:00
nicm
ff8882a24f
Add "us" to styles for underscore colour, GitHub issue 3589.
2023-06-26 07:17:40 +00:00
Thomas Adam
ffe2410639
Merge branch 'obsd-master'
2023-06-25 20:01:09 +01:00
nicm
9e14c1f88d
SGR 0 should not end hyperlink, reported by Lucas Trzesniewski.
2023-06-25 15:53:07 +00:00
Thomas Adam
29a5dfc7c0
Merge branch 'obsd-master'
2023-06-21 08:01:08 +01:00
nicm
645bf8b3ab
Check fdopen return value, from Christian Menges.
2023-06-21 06:28:18 +00:00
Thomas Adam
f41c536ff3
Merge branch 'obsd-master'
2023-06-08 14:01:09 +01:00
nicm
bdd05bdbd3
Fix mismatch between function prototype and definition, from Anindya
...
Mukherjee.
2023-06-08 11:17:28 +00:00
Nicholas Marriott
fe385b180f
Try utf8proc with pkg-config, from Alex Wu.
2023-06-08 09:10:43 +01:00
Thomas Adam
0eb5d25453
Merge branch 'obsd-master'
2023-05-19 10:01:09 +01:00
nicm
1d98394b41
Add format for server_sessions, from Magnus Gross.
2023-05-19 07:46:34 +00:00
Thomas Adam
149d9cc851
Merge branch 'obsd-master'
2023-05-08 12:01:09 +01:00
tb
204d8f31d7
Reorder struct grid_cell_entry
...
On aarch64 with llvm 15, the new -Wunaligned-access emits noise on every
one of tmux's source files. This avoids this warning by moving a u_char
to the end of the struct. This does not change the size of the struct on
any architecture.
ok nicm
2023-05-08 10:03:39 +00:00
Thomas Adam
fbe6fe7f55
Merge branch 'obsd-master'
2023-04-28 12:52:21 +01:00
Nicholas Marriott
168eab11a7
Cast both strings for tparm.
2023-04-28 07:23:53 +01:00
nicm
41b318ac7c
Add options to change the confirm key and default behaviour of
...
confirm-before. From Elias Assaf in GitHub issue 3548; prompted by an
earlier change from Yutaro Yoshii in GitHub issue 3496.
2023-04-28 06:12:27 +00:00
nicm
bf636d9575
Do not fatal if tparm fails, instead just log it (not working sequences
...
are better than exiting).
2023-04-28 05:59:35 +00:00
Nicholas Marriott
39d41d0810
Use ncurses' new tparm_s function (added in 6.4-20230424) instead of tparm so
...
it does not object to string arguments in capabilities it doesn't already know.
2023-04-28 06:44:40 +01:00
Thomas Adam
9d8131c190
Merge branch 'obsd-master'
2023-04-27 19:16:08 +01:00
Nicholas Marriott
0ff991b25f
Set default lock command to vlock on Linux if present at build time, from Josh
...
Boyer in GitHub issue 3527.
2023-04-25 17:23:32 +01:00
Nicholas Marriott
15c70e562c
Include NCURSES_VERSION_PATCH in the log.
2023-04-25 16:48:49 +01:00
nicm
8f34504736
Tidy tparm wrapper functions to have more obvious names and check tparm
...
return value.
2023-04-25 09:31:50 +00:00
nicm
551e0c36d9
Invalidate cached tty state after changing features since they may
...
change what the terminal can do and need mouse sequences or similar to
be sent again, GitHub issue 3513.
2023-04-25 09:24:44 +00:00
nicm
48eba4c195
Ignore the user keys range when checking if a key is Unicode.
2023-04-17 18:22:24 +00:00
nicm
9f605178c3
It seems silly to use progname for version, just always say tmux.
2023-04-17 18:00:19 +00:00
nicm
bcafe51378
Make the check if printing is allowed the same as writing which is less
...
confusing.
2023-04-17 17:58:35 +00:00
nicm
280fe77edd
Discard mouse sequences that have the right form but actually are
...
invalid (for example have column zero rather than one).
2023-04-17 17:57:35 +00:00
Nicholas Marriott
b9524f5b72
Add support for spawning panes in separate cgroups with systemd and a configure
...
flag to disable. From Eric T Johnson yut23 AT gvljohnsons DOT com in GitHub
issue 3514.
2023-04-03 08:54:06 +01:00
nicm
a2018b2c3f
Clarify text for new -A slightly, GitHub issue 3508.
2023-04-03 07:39:37 +00:00
nicm
c21af7e446
Add a format to show if there are unseen changes while in a mode, from
...
Dan Aloni in GitHub issue 3498.
2023-03-27 08:47:57 +00:00
nicm
d73078838d
For passthrough, don't write to clients attached to different sessions,
...
based on a fix from Sergei Grechanik.
2023-03-27 08:31:32 +00:00
Thomas Adam
22eb0334c3
Merge branch 'obsd-master'
2023-03-15 22:01:09 +00:00
nicm
a9ac614691
Do not leak screen in popups, GitHub issue 3492.
2023-03-15 19:23:22 +00:00
Thomas Adam
1d0f68dee9
Merge branch 'obsd-master'
2023-03-15 10:01:10 +00:00
nicm
ac4bb89d43
Fix command prompt not to always append argument but only if there has
...
actually been expansion. GitHub issue 3493.
2023-03-15 08:15:39 +00:00
Thomas Adam
b55f34029a
Merge branch 'obsd-master'
2023-02-10 16:01:10 +00:00
nicm
907f58cc3c
Fix cursor position after zero width space, GitHub issue 3469.
2023-02-10 14:01:43 +00:00
Thomas Adam
023b0f76c3
Merge branch 'obsd-master'
2023-02-07 14:01:11 +00:00
Thomas Adam
ddaeebc213
Merge branch 'obsd-master'
2023-02-07 12:01:13 +00:00
nicm
1262e685b8
Remove old buffer when renaming rather than complaining, GitHub issue
...
3467 from Jean-Philippe Paradis.
2023-02-07 10:56:04 +00:00
nicm
0bd78b42c0
Add an L modifier like P, W, S to loop over clients. Also fix some long
...
lines in tmux(1).
2023-02-07 10:21:01 +00:00
Thomas Adam
4a0126f7fb
Merge branch 'obsd-master'
2023-02-06 12:01:12 +00:00
nicm
7acc8d703d
Add -f to list-clients like the other list commands, from Andy Walker in
...
GitHub issue 3449.
2023-02-06 09:20:30 +00:00
Thomas Adam
77118f3a9f
portable: remove vis.h
...
This is included portably across different systems.
2023-02-06 01:55:02 +00:00
Thomas Adam
e25926d3c4
Merge branch 'obsd-master'
2023-02-06 00:01:11 +00:00
nicm
0cb75f1332
Do not allow multiple line separators in a row.
2023-02-05 21:26:48 +00:00
nicm
93b1b78150
Extend display-message to work for control clients. GitHub issue 3449.
2023-02-05 21:15:32 +00:00
Thomas Adam
493922dc4b
Merge branch 'obsd-master'
2023-02-02 12:01:11 +00:00
nicm
f10854cfc5
Add a missing error message which causes an invalid layout name to crash.
2023-02-02 09:24:59 +00:00
nicm
993e7a937f
Tweak note for D key binding, from Clark Wang.
2023-02-02 09:06:44 +00:00
Thomas Adam
f5af3cfb21
Merge branch 'obsd-master'
2023-01-23 12:01:11 +00:00
nicm
e7e112fbd0
Too many \s in example, GitHub issue 3445.
2023-01-23 09:33:51 +00:00
Thomas Adam
c42087c789
Merge branch 'obsd-master'
2023-01-21 00:01:11 +00:00
nicm
3aa458ea63
Add a flag to display-menu to select the manu item chosen first, GitHub
...
issue 3442.
2023-01-20 21:36:00 +00:00
Thomas Adam
c4a6f403bb
Merge branch 'obsd-master'
2023-01-17 12:01:09 +00:00
nicm
9789ea3fb4
Support -1 without -N for list-keys.
2023-01-17 10:40:51 +00:00
Thomas Adam
f416ae1c12
Merge branch 'obsd-master'
2023-01-17 10:01:09 +00:00
nicm
d578cf8d3f
Update palette when moving a pane, GitHub issue 3437.
2023-01-17 06:50:55 +00:00
Thomas Adam
789cb91f31
Merge branch 'obsd-master'
2023-01-16 14:01:10 +00:00
nicm
eb1f8d70a7
Mark keys sent by command and skip paste handling for them.
2023-01-16 11:26:14 +00:00
Thomas Adam
42895efac3
Merge branch 'obsd-master'
2023-01-12 22:01:09 +00:00
nicm
483cc77c1c
Have tmux recognise pasted texts wrapped in bracket paste sequences,
...
rather than only forwarding them to the program inside. From Andrew
Onyshchuk in GitHub issue 3431.
2023-01-12 18:49:11 +00:00
Thomas Adam
9b1ea8b16d
Merge branch 'obsd-master'
2023-01-09 16:01:11 +00:00
nicm
b41892622d
Fix behaviour with \007 (used the wrong tree for last change).
2023-01-09 14:12:41 +00:00
Thomas Adam
9051220243
Merge branch 'obsd-master'
2023-01-09 10:01:09 +00:00
nicm
c0031f8b85
Accept \007 as terminator to OSC 10 or 11.
2023-01-09 07:57:14 +00:00
Thomas Adam
c1a30ed995
Merge branch 'obsd-master'
2023-01-09 02:01:10 +00:00
nicm
565de3f54b
Fix parsing of optional arguments so that and accept a - starting an
...
argument.
2023-01-08 23:34:46 +00:00
Thomas Adam
153ae758c9
portable: fixup merge with utf8.c
2023-01-08 23:27:54 +00:00
Thomas Adam
5086377f30
Merge branch 'obsd-master'
2023-01-08 23:26:09 +00:00
nicm
7c0789d2d2
Have client return 1 if process is interrupted to an input pane.
2023-01-08 22:17:04 +00:00
Nicholas Marriott
2a32565e0c
Restore code to handle wcwidth failure so that unknown codepoints still
...
do the most likely right thing. GitHub issue 3427, patch based on an
diff from Jesse Luehrs in GitHub issue 3003.
2023-01-08 22:15:38 +00:00
nicm
7ced0a03d2
Restore code to handle wcwidth failure so that unknown codepoints still
...
do the most likely right thing. GitHub issue 3427, patch based on an
diff from Jesse Luehrs in GitHub issue 3003.
2023-01-08 22:15:30 +00:00
nicm
cb51942669
Quotes are now required in select-layout example.
2023-01-08 21:00:01 +00:00
Nicholas Marriott
093fb53773
Missing #endif.
2023-01-06 11:38:41 +00:00
Thomas Adam
21e00e4635
Merge branch 'obsd-master'
2023-01-06 09:02:00 +00:00
nicm
09afc6c8ee
If a pane is killed, cancel reading from the file. GitHub issue 3422.
2023-01-06 07:09:27 +00:00
nicm
a41a927441
Query the client terminal for foreground and background colours and if
...
OSC 10 or 11 is received but no colour has been set inside tmux, return
the colour from the first attached client (probably most people will
have all light or or all dark terminals).
2023-01-03 11:43:24 +00:00
jmc
3fe01ff09c
spelling fixes; from paul tagliamonte
...
amendments to his diff are noted on tech
2022-12-26 19:16:03 +00:00
kn
b5ab4d2c13
Denote multiple arguments with 'arg ...' not 'args'
...
A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.
mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.
Cleanup a few markups of the same argument so the text keeps reading
naturally; omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.
For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.
Feedback millert jmc schwarze deraadt
OK jmc
2022-12-22 19:53:23 +00:00
nicm
4d79d463ef
Allow send-keys without a client again, reported by Stefan Hagen.
2022-12-19 07:30:10 +00:00
nicm
7cb48fc40b
Do not escape tabs in output (iTerm2 needs them). GitHub issue 3414.
2022-12-16 08:22:05 +00:00
nicm
8bd17bff49
Make U+FE0F VARIATION SELECTOR-16 change the width from 1 to 2. GitHub
...
issue 3409.
2022-12-16 08:19:58 +00:00
nicm
3b3f42053a
Add send-keys -K to handle keys directly as if typed (so look up in key
...
table). GitHub issue 3361.
2022-12-16 08:13:40 +00:00
Nicholas Marriott
70ff8cfe1e
No vis.h in portable.
2022-12-07 12:30:36 +00:00
Thomas Adam
6249a4b866
Merge branch 'obsd-master'
2022-12-07 12:01:09 +00:00
nicm
7e497c7f23
Process escape sequences in show-buffer, GitHub issue 3401.
2022-12-07 09:44:44 +00:00
Thomas Adam
1536b7e206
Merge branch 'obsd-master'
2022-11-11 10:01:09 +00:00
Nicholas Marriott
e46d0632a5
Add key regression tests from Aaron Jensen.
2022-11-11 08:47:55 +00:00
nicm
20da167377
Tweak previous to set and log the feature instead of just setting the
...
flag.
2022-11-11 08:44:11 +00:00
nicm
fe475bd856
Parse primary device attributes as well as secondary and add a SIXEL
...
flag (not used yet), from Anindya Mukherjee.
2022-11-11 08:37:55 +00:00
nicm
079f48e8a6
Document alternative delimiters for substitution, from Jim Wisniewski.
2022-11-11 08:27:17 +00:00
Thomas Adam
aaa043a20f
Merge branch 'obsd-master'
2022-11-11 02:01:10 +00:00
jmc
48f41e4a41
- sort options; from josiah frentsos
...
ok nicm
- add -N to SYNOPSIS
- sort usage()
2022-11-10 22:58:39 +00:00
Thomas Adam
6fb80527f3
Merge branch 'obsd-master'
2022-11-08 12:01:11 +00:00
nicm
f86eba2129
Fix C-S-Tab without extended keys, from Aaron Jensen.
2022-11-08 10:04:31 +00:00
Thomas Adam
50f4e0fac9
Merge branch 'obsd-master'
2022-11-04 10:01:10 +00:00
nicm
77c135349a
Unescape the string for the literal operator (l:) so special characters
...
work.
2022-11-04 08:03:23 +00:00
Thomas Adam
c449512be4
Merge branch 'obsd-master'
2022-11-03 10:01:11 +00:00
nicm
17290b9121
If there are no buffers, reset mode as soon as any key pressed. Fixes
...
crash reported by Gaoyang Zhang in GitHub issue 3373.
2022-11-03 08:41:53 +00:00
nicm
3be369522b
Add a -l flag to display-message to disable format expansion, from Aaron
...
Jensen. GitHub issue 3372.
2022-11-03 08:33:57 +00:00
Thomas Adam
dbfbd8a195
Merge branch 'obsd-master'
2022-11-02 08:01:11 +00:00
nicm
9614f51560
Instead of always setting the extended flag, set it only when searching.
...
Allows send-keys to work. From Aaron Jensen.
2022-11-02 07:36:07 +00:00
Thomas Adam
36896f6dd0
Merge branch 'obsd-master'
2022-11-01 12:01:10 +00:00
nicm
2d08235987
Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.
2022-11-01 09:54:13 +00:00
nicm
2291045116
Use active pane in target window not current window for +/-. GitHub
...
issue 3370.
2022-11-01 09:46:14 +00:00
Thomas Adam
9dd1f442c5
Merge branch 'obsd-master'
2022-10-28 16:01:10 +01:00
nicm
8edece2cdb
Add paste-buffer-deleted notification and fix name of paste-buffer-changed.
2022-10-28 13:00:02 +00:00
Thomas Adam
d001a94d7b
Merge branch 'obsd-master'
2022-10-25 22:01:10 +01:00
nicm
c2580cfe24
Initialize context before testing it.
2022-10-25 17:53:31 +00:00
Thomas Adam
dafd6f462f
Merge branch 'obsd-master'
2022-10-25 12:01:10 +01:00
nicm
2111142cf1
Fix a memory leak, from Japin Li in GitHub issue 3358.
2022-10-25 09:12:05 +00:00
nicm
0fc961b22e
Do not fire redraw callback if NULL.
2022-10-25 09:04:49 +00:00
Nicholas Marriott
5ce34add77
Do not attempt to connect to the socket as a client if systemd is active, from
...
Julien Moutinho in GitHub issue 3345.
2022-10-18 15:58:06 +01:00
Thomas Adam
934f357149
Merge branch 'obsd-master'
2022-10-17 14:01:10 +01:00
nicm
ff2766b024
Preserve marked pane when renumbering windows.
2022-10-17 10:59:42 +00:00
Thomas Adam
9ef854f5a9
Merge branch 'obsd-master'
2022-09-28 12:01:09 +01:00
nicm
a10452be2d
Add scroll-top and scroll-bottom commands to scroll so cursor is at top
...
or bottom. From Anindya Mukherjee, GitHub issue 3334.
2022-09-28 07:59:50 +00:00
nicm
9cc8e40aa0
Add a -T flag to capture-pane to stop at the last used cell instead of
...
the full width. Restore the previous behaviour by making it default to
off unless -J is used (the only time it matters). Fixes mosh unit tests;
GitHub issue 3339.
2022-09-28 07:55:29 +00:00
Thomas Adam
f49f92737f
Merge branch 'obsd-master'
2022-09-22 17:10:38 +01:00
Nicholas Marriott
19344ec890
Add headers and fix type, from Marvin Schmidt. GitHub issue 3332.
2022-09-19 07:03:17 +01:00
nicm
a2cc601c3d
Don't use options from pane if pane is NULL.
2022-09-12 12:02:17 +00:00
nicm
9ab1ba36cd
Use correct option name.
2022-09-10 17:01:33 +00:00
nicm
f03c3ca6c3
Add message-line option to control where message and prompt go, from
...
Varun Kumar E in GitHub issue 3324.
2022-09-09 11:02:23 +00:00
Nicholas Marriott
0a0ded3268
Regress typos.
2022-09-07 07:28:26 +01:00
Thomas Adam
6da520c5a1
Merge branch 'obsd-master'
2022-08-31 12:01:10 +01:00
nicm
68dc9af9ac
Fix window size report, from Vincent Bernat.
2022-08-31 08:07:05 +00:00
Thomas Adam
f7b30ed3d4
Merge branch 'obsd-master'
2022-08-24 10:01:13 +01:00
nicm
e867528209
Check for NULL returns from bufferevent_new.
2022-08-24 07:22:30 +00:00
Thomas Adam
038dfb27a8
Merge branch 'obsd-master'
2022-08-23 12:01:10 +01:00
nicm
416c27c995
Add scroll-middle copy mode command to make cursor line in the middle,
...
from Varun Kumar E in GitHub issue 3307.
2022-08-23 08:14:19 +00:00
Nicholas Marriott
19344efa78
Fix fallback implementaion of getpeereid, from Pino Toscano.
2022-08-22 08:21:42 +01:00
Thomas Adam
9c34aad21c
Merge branch 'obsd-master'
2022-08-15 13:54:47 +01:00
nicm
7c2dcd7238
Notify when a paste buffer is deleted, GitHub issue 3302 from George
...
Nachman.
2022-08-15 09:10:34 +00:00
nicm
03149bf7f6
Add a Nobr terminfo capability to tell tmux the terminal does not use
...
bright colours for bold (makes a difference to how tmux applies palette
differences). From Damien Tardy-Panis in GitHub issue 3301.
2022-08-15 08:54:03 +00:00
nicm
497021d0db
Add some const, from Markus F X J Oberhumer.
2022-08-15 08:41:13 +00:00
nicm
cfdc5b62ad
Don't stop at first match when updating environment.
2022-08-15 08:37:03 +00:00
Thomas Adam
9b08e5139b
Merge branch 'obsd-master'
2022-08-11 12:01:10 +01:00
nicm
e139f977b1
vi(1) Home/End bindings, from Markus F X J Oberhumer.
2022-08-11 09:11:26 +00:00
Thomas Adam
9abf5d9fe5
Merge branch 'obsd-master'
2022-08-10 18:01:11 +01:00
nicm
273577ba0a
Fix check of home directory (&& not ||), from Markus F X J Oberhumer,
...
GitHub issue 3297.
2022-08-10 14:03:59 +00:00
Thomas Adam
e15058e60f
Merge branch 'obsd-master'
2022-08-04 16:01:09 +01:00
nicm
de5cd54124
Change g and G to go to top and bottom of menu, GitHub issue 3286.
2022-08-04 12:06:09 +00:00
Thomas Adam
c6cf09450a
Merge branch 'obsd-master'
2022-08-03 16:01:11 +01:00
nicm
c6e7568471
Do not crash when searching for .* with extremely long lines. Reported
...
by Torbjorn Lonnemark, GitHub issue 3272.
2022-08-03 13:27:48 +00:00
Thomas Adam
7b8ececd8d
Merge branch 'obsd-master'
2022-08-02 14:01:09 +01:00
nicm
42ba6c1b22
Add a third state "all" to allow-passthrough to work even in invisible
...
panes, from Sergei Grechanik in GitHub issue 3274.
2022-08-02 11:09:26 +00:00
Thomas Adam
9a2fdf8fd4
Merge branch 'obsd-master'
2022-08-02 12:01:09 +01:00
Nicholas Marriott
00812c9053
Check for $YACC, from Wei Shih in GitHub issue 3267.
2022-08-02 11:52:09 +01:00
nicm
33c59100ae
Fix validation of missing percentage arguments.
2022-08-02 09:23:34 +00:00
nicm
36d904011a
-u is no longer equivalent to -TUTF-8 so don't say it is.
2022-08-02 08:57:01 +00:00
Thomas Adam
9d9445a48e
Merge branch 'obsd-master'
2022-07-22 10:01:10 +01:00
nicm
a8da24771c
Clear marks when the search string changes. From Anindya Mukherjee,
...
GitHub issue 3255.
2022-07-22 07:14:07 +00:00
Thomas Adam
ab1d18d00f
Merge branch 'obsd-master'
2022-07-19 10:01:08 +01:00
nicm
ee431d482a
Do not ignore the "off" flag when checking if a pane should be stopped,
...
GitHub issue 3250.
2022-07-19 07:10:13 +00:00
Nicholas Marriott
e06c09889c
Add permissions for workflow, GitHub issue 3202.
2022-07-19 07:54:11 +01:00
nicm
86dfbda0e4
Process modifiers as bits rather than using a switch, from Koichi Murase.
2022-07-19 06:51:31 +00:00
Nicholas Marriott
697cebb4c1
Include curses properly for hyperlinks ifdef, from chrysn at fsfe dot org.
2022-07-19 07:48:48 +01:00
nicm
3c65475561
Fix memory leak, from Gabriel Souza Franco.
2022-07-19 06:46:57 +00:00
Thomas Adam
dc6bc0e95a
Merge branch 'obsd-master'
2022-07-06 12:01:09 +01:00
Thomas Adam
b130e951cc
Merge branch 'obsd-master'
2022-07-06 10:01:10 +01:00
Nicholas Marriott
9e19f132f2
Errors are now displayed on attach so use control mode to test
...
instead.
2022-07-06 09:54:53 +01:00
nicm
1afe22086f
Show config errors on attach if they were not shown when the session
...
was created.
2022-07-06 08:40:52 +00:00
Nicholas Marriott
8e8b9865d1
Add hyperlink test, from Jeff Chiang.
2022-07-06 09:33:30 +01:00
nicm
a39827a85c
Remove debugging code.
2022-07-06 08:32:28 +00:00
nicm
9e03df5500
Defer reading from control client until the command line command has
...
completed.
2022-07-06 08:31:59 +00:00
nicm
dd602eaa61
Mention whether time is creation/activity for sort orders.
2022-07-06 07:51:37 +00:00
nicm
d0d2c39dec
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
...
format, GitHub issue 3247 from Jeff Chiang.
2022-07-06 07:36:36 +00:00
Thomas Adam
57fec74966
Merge branch 'obsd-master'
2022-07-04 12:01:10 +01:00
nicm
9360e0ef32
Sort panes by index not by ID, GitHub issue 3249.
2022-07-04 08:39:45 +00:00
Nicholas Marriott
f08c019d41
Do not set Hls for hyperlinks on ncurses older than 5.9 (for example macOS).
2022-06-30 16:46:26 +01:00
Thomas Adam
c3af8f6b16
hyperlinks: remove vis.h
...
Not used on Linux.
2022-06-30 16:44:43 +01:00
Thomas Adam
01c4919f5f
Merge branch 'obsd-master'
2022-06-30 16:37:18 +01:00
nicm
cdacc12ce3
Add support for OSC 8 hyperlinks (a VTE extension now supported by other
...
terminals such as iTerm2). Originally written by me then extended and
completed by first Will Noble and later Jeff Chiang. GitHub issues 911,
2621, 2890, 3240.
2022-06-30 09:55:53 +00:00
Thomas Adam
d8c527a5f9
Merge branch 'obsd-master'
2022-06-27 12:01:09 +01:00
nicm
b22edcf3a5
Tweak previous - find end of style correctly.
2022-06-27 09:16:54 +00:00
nicm
786cff8db9
Do not expand single character format aliases inside #[] since they
...
interfere with colours. GitHub issue 3239 from Magnus Gross.
2022-06-27 09:14:49 +00:00
Thomas Adam
b63afaea61
Merge branch 'obsd-master'
2022-06-21 12:01:09 +01:00
nicm
9c89f7c2af
Store time lines are scrolled into history and display in copy mode.
2022-06-21 09:30:01 +00:00
Thomas Adam
d46870ede5
Merge branch 'obsd-master'
2022-06-20 12:01:09 +01:00
nicm
a888ce9963
Do not display configuration file errors in a pane when in control mode,
...
instead report them with a %config-error notification. GitHub issue 3193.
2022-06-20 07:59:37 +00:00
Thomas Adam
8ff3091d16
Merge branch 'obsd-master'
2022-06-17 10:01:10 +01:00
nicm
d9f84854ac
Check cursor options when a pane is created, not just when they are changed.
2022-06-17 07:28:05 +00:00
Thomas Adam
89fe2680a9
Merge branch 'obsd-master'
2022-06-16 16:01:08 +01:00
nicm
7cee982f90
Keep cursor on selected item on menu (useful for blind people), GitHub
...
issue 3225.
2022-06-16 13:27:39 +00:00
Nicholas Marriott
42358cc521
Typos from Bastian Venthur.
2022-06-15 08:01:50 +01:00
Thomas Adam
06869ff22f
Merge branch 'obsd-master'
2022-06-14 10:01:08 +01:00
nicm
616bde08ac
kf* terminfo capabilities are poorly defined and rxvt uses them in a
...
different way from xterm, so add a feature flag for rxvt to make tmux
ignore the capabilities and instead rely on its builtin definitions.
2022-06-14 07:29:00 +00:00
Thomas Adam
6d0828b81c
Merge branch 'obsd-master'
2022-06-11 20:01:09 +01:00
nicm
42ddf02ffc
Fix size of flags output buffer.
2022-06-11 16:59:33 +00:00
Thomas Adam
56390e0a39
Merge branch 'obsd-master'
2022-06-10 16:01:11 +01:00
nicm
18a5835aff
Ignore OSC if the first argument is not properly terminated.
2022-06-10 11:55:30 +00:00
Nicholas Marriott
67960dcc9a
Merge tag '3.3a'
...
3.3a
2022-06-09 13:07:18 +01:00
Nicholas Marriott
0b355ae811
3.3a.
2022-06-09 12:30:50 +01:00
Nicholas Marriott
6a9bb2a622
Remove extra definition of getpeereid. From Eric N Vander Weele in GitHub issue
...
3209.
2022-06-09 12:28:38 +01:00
nicm
988e59cf3e
Do not attempt to use client in config file (it will be NULL), GitHub
...
issue 3206.
2022-06-09 12:28:34 +01:00
nicm
30e06e9d85
Do not unintentionally turn off all mouse mode when button is also present.
2022-06-09 12:28:22 +01:00
Thomas Adam
810daefdd1
Merge branch 'obsd-master'
2022-06-09 12:01:09 +01:00
nicm
ccc9dc3bb4
If an application gives the first parameter to OSC 52, validate and pass
...
on to outside terminal. GitHub issue 3192.
2022-06-09 09:12:55 +00:00
Thomas Adam
be2eb57d62
Merge branch 'obsd-master'
2022-06-07 14:01:09 +01:00
nicm
c07d582e24
Expand arguments to some commands where it makes sense, GitHub issue
...
3204 from Anindya Mukherjee.
2022-06-07 10:02:19 +00:00
Thomas Adam
afb3a5fe71
Merge branch 'obsd-master'
2022-06-04 10:01:09 +01:00
nicm
020c403dff
When picking a buffer because one isn't specified by the user, ignore
...
named buffers. GitHub issue 3212 from David le Blanc.
2022-06-04 07:42:07 +00:00
Thomas Adam
e77e11ec6b
Merge branch 'obsd-master'
2022-06-03 12:01:09 +01:00
nicm
3edda3c5e7
Do not unintentionally turn off all mouse mode when button is also present.
2022-06-03 08:09:16 +00:00
Thomas Adam
1184dc08d4
Merge branch 'obsd-master'
2022-06-03 00:01:08 +01:00
nicm
18838fbc87
Do not attempt to use client in config file (it will be NULL), GitHub
...
issue 3206.
2022-06-02 21:19:32 +00:00
Nicholas Marriott
be2617036f
Remove extra definition of getpeereid. From Eric N Vander Weele in GitHub issue
...
3209.
2022-06-02 21:45:53 +01:00
nicm
0f6227f46b
When deleting or renaming a buffer and a buffer name is specified,
...
complain if the buffer doesn't exist instead of silently deleting or
renaming the most recent buffer. GitHub issue 3205.
2022-06-02 20:41:21 +00:00
Thomas Adam
c1ac007576
Merge branch 'obsd-master'
2022-06-01 18:01:08 +01:00
nicm
201a8d8e7e
If escape-time is 0, force to 1 instead - not waiting at all is asking
...
for problems on some platforms.
2022-06-01 15:43:22 +00:00
Nicholas Marriott
b566cd57bf
Now back to 3.4.
2022-06-01 08:50:54 +01:00