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
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
Thomas Adam
0ee18d4421
Merge branch 'obsd-master'
2026-04-05 16:01:08 +01: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
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
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
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
Thomas Adam
51bc2f3b76
Merge branch 'obsd-master'
2026-04-02 12:01:08 +01: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
8b51abef08
Check for \0 after skipping # not before in format_expand1, from ossfuzz.
2026-04-02 08:37:14 +00:00
Thomas Adam
6324dae114
Merge branch 'obsd-master'
2026-03-27 12:01:10 +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
04b4952f0e
Merge branch 'obsd-master'
2026-03-09 20:01:07 +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
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
bbbfa8f360
Merge branch 'obsd-master'
2026-03-02 12:01:09 +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
Thomas Adam
0800e51d41
Merge branch 'obsd-master'
2026-02-26 10:18:15 +00:00
nicm
bd6e201926
Do not expand #() in E: and T:, from Mason Davis.
2026-02-24 18:06:41 +00:00
Thomas Adam
d3522c328c
Merge branch 'obsd-master'
2026-02-12 11:10:01 +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
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
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
Thomas Adam
77417b7cbe
Merge branch 'obsd-master'
2026-01-05 10:01:08 +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
86c15d7ae9
Merge branch 'obsd-master'
2025-12-17 14:01:08 +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
Thomas Adam
1a3db6b65e
Merge branch 'obsd-master'
2025-12-05 00:01:08 +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
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
Thomas Adam
2070731af1
Merge branch 'obsd-master'
2025-08-22 12: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
Thomas Adam
f4c0fe2ede
Merge branch 'obsd-master'
2025-08-22 08:37:26 +01: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
Thomas Adam
865117a05f
Merge branch 'obsd-master'
2025-07-13 10:01:08 +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