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
4ce893ebc0
Do not leak opened file, from lg65438805 at gmail dot com in GitHub
...
issue 4577.
2025-08-14 06:37:29 +00:00
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
06c84dba59
Fix PageDown in menus, from Pavel Roskin in GitHub issue 4581.
2025-08-12 12:29:58 +00:00
d90e7623c6
Free command on failure, GitHub issue 4578.
2025-08-12 12:26:09 +00:00
05b2893b9f
Do not leak buffer if not used, reported by someone in GitHub issue
...
4575.
2025-08-04 13:22:10 +00:00
1bf2023ed4
Flush scrolling when wrapping so UTF-8 in last position draws correctly,
...
GitHub issue 4518.
2025-08-04 13:16:13 +00:00
6d94909c08
Do not leak on failure, GitHub 4565.
2025-08-01 09:05:51 +00:00
4f38af01e0
Fix reverse documentation of display-popup -s and -S, from Ricardo Signes.
2025-08-01 08:17:27 +00:00
206f492401
Fix incorrect handling of Korean Hangul Jamo characters. GitHub issue
...
4546 from Roy Jung.
2025-07-22 07:42:52 +00:00
6549aaf393
yyerror should be void.
2025-07-19 19:30:37 +00:00
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
9c07903ae9
Correctly remove overwritten wide characters at column 1.
2025-07-18 20:44:13 +00:00
041bbf8bdf
Allow uppercase letters in gray/grey color names, GitHub issue 4560 from
...
Pavel Roskin.
2025-07-17 11:39:23 +00:00
e6bac234db
Increase delay for foreground and background queries as well as device
...
attributes, GitHub issue 4541.
2025-07-13 06:32:34 +00:00
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
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
01da87c112
new sentence, new line
2025-07-01 08:54:50 +00:00
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
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
522652913f
Add S: to list sessions with modifiers for sorting, from Michael Grant.
2025-06-20 13:31:59 +00:00
d82d9468b4
Expand mode-style with E: so # is correctly processed, GitHub issue
...
4533.
2025-06-15 22:24:51 +00:00
d7f75ac985
Do not replace SHELL when using /bin/sh. From someone in GitHub issue 4528.
2025-06-15 21:57:58 +00:00
77ca59acac
Add missing theme hooks, from Eric NICOLAS in GitHub issue 4519.
2025-05-28 09:53:57 +00:00
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
545832e9fa
Typo, from someone in GitHub issue 4511.
2025-05-22 07:49:24 +00:00
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
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
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
79b02998a6
Add R format modifier to repeat an argument.
2025-05-12 10:26:19 +00:00
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
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
367f17a4ff
Preserve colours in selection if the option style is default, GitHub
...
issue 4498.
2025-05-12 09:17:42 +00:00
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
1926c1b683
Don't map 256 to white-on-white either, and tidy code a bit.
2025-05-01 06:59:32 +00:00
b0b6a6f665
Revert change to handle command parsing failures in the client because
...
it breaks aliases.
2025-04-25 12:25:32 +00:00
63e5989f53
Remove a stray period, reported by David Mandelberg.
2025-04-25 11:39:39 +00:00
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
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
68f2ac9296
Fix examples with too many backslashes, pointed out by David Mandelberg.
2025-04-24 08:54:40 +00:00
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
5db914b745
Add notes to menu keys, from someone in GitHub issue 4478.
2025-04-22 12:34:56 +00:00
cd3d2910ee
Fix description of pane_in_mode, from Julian Prein in GitHub issue 4469.
2025-04-22 12:33:35 +00:00
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
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
3e14e7c48b
Formats can use environment variables, from David Mandelberg.
2025-04-09 06:51:31 +00:00
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
a7991dcbad
Fix padding for word function as well, GitHub issue 4425.
2025-04-03 11:52:25 +00:00
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
4bf38da4d4
Only align panes and windows, not sessions, from David Mandelberg in
...
GitHub issue 4444.
2025-04-02 09:31:00 +00:00