mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Fix incorrect escape character in unescape function
darcs-hash:20070908191855-ac50b-e98e433dc23b6357c3a23d935de4bcb55efb9da9.gz
This commit is contained in:
parent
38ed4c0f9b
commit
3fc1ba0f0e
4
common.c
4
common.c
@ -996,7 +996,7 @@ wchar_t *unescape( const wchar_t * orig, int flags )
|
|||||||
/*
|
/*
|
||||||
\x1b means escape
|
\x1b means escape
|
||||||
*/
|
*/
|
||||||
case L'\x1b':
|
case L'e':
|
||||||
{
|
{
|
||||||
in[out_pos]=L'\x1b';
|
in[out_pos]=L'\x1b';
|
||||||
break;
|
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':
|
case L'v':
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user