Commit Graph

10625 Commits

Author SHA1 Message Date
Nicholas Marriott
9a72317c4f Check for vlock earlier to neaten output. 2025-09-08 12:27:26 +01: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