mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
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.
This commit is contained in:
parent
257cb2f5f9
commit
7e6e3cd503
3 changed files with 20 additions and 1 deletions
|
|
@ -93,6 +93,9 @@ char *ascii_strdown(char *str);
|
|||
/* Escape all '"', "'" and '\' chars with '\' */
|
||||
char *escape_string(const char *str);
|
||||
|
||||
/* Escape all '\' chars with '\' */
|
||||
char *escape_string_escape(const char *str);
|
||||
|
||||
/* convert all low-ascii (<32) to ^<A..> combinations */
|
||||
char *show_lowascii(const char *str);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue