Fix compilation with Sun Studio compiler changing \e to \x1b as it does not support \e as an escape character.

darcs-hash:20070822075239-cac88-1a9768bf35295615d553192d9a494f00db26f742.gz
This commit is contained in:
Claes Nästén
2007-08-22 17:52:39 +10:00
parent baeca81305
commit 2994378e1a
7 changed files with 52 additions and 57 deletions

View File

@@ -581,7 +581,7 @@ void reader_write_title()
int i;
if( al_get_count( &l ) > 0 )
{
writestr( L"\e]2;" );
writestr( L"\x1b]2;" );
for( i=0; i<al_get_count( &l ); i++ )
{
writestr( (wchar_t *)al_get( &l, i ) );
@@ -2619,7 +2619,7 @@ wchar_t *reader_readline()
}
/* Escape was pressed */
case L'\e':
case L'\x1b':
{
if( search_mode )
{