Commit Graph

4289 Commits

Author SHA1 Message Date
nicm
b4ba6e49af Do not realpath() everything since it is pointless and breaks symlinks.
GitHub issue 4427.
2025-10-28 10:51:30 +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
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
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
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
nicm
7516f8e94f Check the right flags member, reported by someone in GitHub issue 4634. 2025-09-12 08:46:29 +00:00
nicm
50dafd6187 Remove some unnecessary assignments. 2025-09-09 08:49:22 +00: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
jsg
408721ae37 correct indentation, no functional change
found with smatch, ok nicm@
2025-09-08 08:23:19 +00: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
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
nicm
267efefdfa Restore default blinking state when restoring default cursor style, from
Andrea Alberti.
2025-09-05 06:15:48 +00: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
nicm
c32570c602 Set PWD for jobs as well as panes. 2025-09-02 13:39:14 +00: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
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
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
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
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
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
nicm
6d94909c08 Do not leak on failure, GitHub 4565. 2025-08-01 09:05:51 +00:00
nicm
4f38af01e0 Fix reverse documentation of display-popup -s and -S, from Ricardo Signes. 2025-08-01 08:17:27 +00: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
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
nicm
9c07903ae9 Correctly remove overwritten wide characters at column 1. 2025-07-18 20:44:13 +00: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
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
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
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
jsg
01da87c112 new sentence, new line 2025-07-01 08:54:50 +00:00