Add %%% to substitute with quotes escaped (convert " to \"). Use this

for the prompts in copy mode. Fixes problems with jumping to ' reported
by Theo Buehler.
This commit is contained in:
nicm
2016-10-21 13:51:59 +00:00
parent 99c262b7d0
commit 8084a2c9e6
3 changed files with 30 additions and 18 deletions

6
tmux.1
View File

@ -3147,6 +3147,7 @@ option.
.Xc
If this option is set, searches will wrap around the end of the pane contents.
The default is on.
.Pp
.It Xo Ic xterm-keys
.Op Ic on | off
.Xc
@ -3157,7 +3158,6 @@ will generate
function key sequences; these have a number included to indicate modifiers such
as Shift, Alt or Ctrl.
The default is off.
.Pp
.El
.It Xo Ic show-options
.Op Fl gqsvw
@ -3770,6 +3770,10 @@ Up to nine prompt responses may be replaced
to
.Ql %9
.Pc .
.Ql %%%
is like
.Ql %%
but any quotation marks are escaped.
.Pp
.Fl 1
makes the prompt only accept one key press, in this case the resulting input