]> jfr.im git - irc/irssi/irssi.git/commit
Add escape_string_escape function for expand_escapes
authorailin-nemui <redacted>
Sun, 25 Nov 2018 12:41:46 +0000 (13:41 +0100)
committerailin-nemui <redacted>
Fri, 7 Dec 2018 09:00:29 +0000 (10:00 +0100)
commit7e6e3cd503b3619a22709db66234cd4aeefa866f
tree28a01f82996d528610e0aeeab0ca18c7fa7be89b
parent257cb2f5f91cbc08b20199f92a5d1923bc5ca4f2
Add escape_string_escape function for expand_escapes

To avoid expanding, tab completion escapes the completion list. But the
escape_string function escapes too much for the expand_escapes code. Add
a function that only escapes the backslashes.
src/core/misc.c
src/core/misc.h
src/fe-common/core/completion.c