mirror of https://github.com/tmux/tmux.git
Add ~ to quoted characters for %%%, reported by tb@.
This commit is contained in:
parent
a770a3bf7e
commit
1870cc70ef
2
cmd.c
2
cmd.c
|
@ -661,7 +661,7 @@ char *
|
||||||
cmd_template_replace(const char *template, const char *s, int idx)
|
cmd_template_replace(const char *template, const char *s, int idx)
|
||||||
{
|
{
|
||||||
char ch, *buf;
|
char ch, *buf;
|
||||||
const char *ptr, *cp, quote[] = "\"\\$;";
|
const char *ptr, *cp, quote[] = "\"\\$;~";
|
||||||
int replaced, quoted;
|
int replaced, quoted;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue