Do not escape in %%.

This commit is contained in:
Nicholas Marriott
2026-10-06 18:08:03 +01:00
parent b5865a6d29
commit d65192c6af
3 changed files with 128 additions and 16 deletions

11
tmux.1
View File

@@ -8089,10 +8089,17 @@ Up to nine prompt responses may be replaced
to
.Ql %9
.Pc .
The template is parsed before prompting, and responses are substituted literally
into its argument values without being parsed again.
Spaces, quotes and semicolons in a response do not add arguments or commands.
.Ql %%%
is like
is accepted like
.Ql %%
but any quotation marks are escaped.
and
.Ql %1%
like
.Ql %1 ,
without adding escapes.
.Pp
.Fl 1
makes the prompt only accept one key press, in this case the resulting input