summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authornicm <nicm>2020-01-04 18:01:56 +0000
committernicm <nicm>2020-01-04 18:01:56 +0000
commit1870cc70ef6eded1ac3a809124ec21de1b98dbd9 (patch)
tree31742689b12b10353a86168535e4fe129c09a166 /cmd.c
parenta770a3bf7ea8370b850b19a50f2d4839b44c4a1f (diff)
Add ~ to quoted characters for %%%, reported by tb@.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 163db73b..03a17ab1 100644
--- a/cmd.c
+++ b/cmd.c
@@ -661,7 +661,7 @@ char *
cmd_template_replace(const char *template, const char *s, int idx)
{
char ch, *buf;
- const char *ptr, *cp, quote[] = "\"\\$;";
+ const char *ptr, *cp, quote[] = "\"\\$;~";
int replaced, quoted;
size_t len;