mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix bug that would accidentally disable interactive mode on OS X when writing the titlebar message on some systems. Found by Nick Pilon
darcs-hash:20060206152015-ac50b-63d86ca778c240012bbe1e0d28062591a10f3a54.gz
This commit is contained in:
parent
6291be256b
commit
4e77ee4516
1 changed files with 1 additions and 1 deletions
2
reader.c
2
reader.c
|
@ -607,7 +607,6 @@ void reader_write_title()
|
||||||
array_list_t l;
|
array_list_t l;
|
||||||
wchar_t *term = env_get( L"TERM" );
|
wchar_t *term = env_get( L"TERM" );
|
||||||
int was_interactive = is_interactive;
|
int was_interactive = is_interactive;
|
||||||
is_interactive = 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is a pretty lame heuristic for detecting terminals that do
|
This is a pretty lame heuristic for detecting terminals that do
|
||||||
|
@ -629,6 +628,7 @@ void reader_write_title()
|
||||||
|
|
||||||
al_init( &l );
|
al_init( &l );
|
||||||
|
|
||||||
|
is_interactive = 0;
|
||||||
if( exec_subshell( title, &l ) != -1 )
|
if( exec_subshell( title, &l ) != -1 )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue