summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2020-03-12 22:02:22 +0300
committerFrank LENORMAND <lenormf@gmail.com>2020-03-12 22:24:44 +0300
commit7b28e68d6cd3e60f5ff1a454ab52a4316d99b60a (patch)
tree5e10cfbf58756781a7ef9f35f658b7dfc24aadb9 /src/buffer_utils.cc
parent6766297623e9718db5b2b09bd655fe183acdcf67 (diff)
src: Don't escape completion candidates with `\`
Completion candidates are currently escaped with a backslash `\` character, which leads to ugly interactive commands on the prompt, especially when they contain space characters. This commit makes completion candidates be escaped by simple quoting. Examples: candidate\ with\ spaces \%opt{foo} \"dquote \'quote become: 'candidate with spaces' '%opt{foo}' '"dquote' '''quote'
Diffstat (limited to 'src/buffer_utils.cc')
0 files changed, 0 insertions, 0 deletions