mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
expand_escape: expand double backslash as a backslash
This commit is contained in:
parent
d57c64adeb
commit
93c158d815
1 changed files with 2 additions and 0 deletions
|
|
@ -690,6 +690,8 @@ int expand_escape(const char **data)
|
||||||
return '\n';
|
return '\n';
|
||||||
case 'e':
|
case 'e':
|
||||||
return 27; /* ESC */
|
return 27; /* ESC */
|
||||||
|
case '\\':
|
||||||
|
return '\\';
|
||||||
|
|
||||||
case 'x':
|
case 'x':
|
||||||
/* hex digit */
|
/* hex digit */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue