mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
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:
4
reader.c
4
reader.c
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user