mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 19:31:14 -03:00
Fix incorrect escape character in unescape function
darcs-hash:20070908191855-ac50b-e98e433dc23b6357c3a23d935de4bcb55efb9da9.gz
This commit is contained in:
4
common.c
4
common.c
@@ -996,7 +996,7 @@ wchar_t *unescape( const wchar_t * orig, int flags )
|
||||
/*
|
||||
\x1b means escape
|
||||
*/
|
||||
case L'\x1b':
|
||||
case L'e':
|
||||
{
|
||||
in[out_pos]=L'\x1b';
|
||||
break;
|
||||
@@ -1039,7 +1039,7 @@ wchar_t *unescape( const wchar_t * orig, int flags )
|
||||
}
|
||||
|
||||
/*
|
||||
\v means vetrical tab
|
||||
\v means vertical tab
|
||||
*/
|
||||
case L'v':
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user