Events should not be marked as non-interactive

darcs-hash:20060116165421-ac50b-503a15877d19055be9fc640baf9430fe0c606083.gz
This commit is contained in:
axel 2006-01-17 02:54:21 +10:00
parent 94b1c4c076
commit 064581c7f8

View file

@ -325,7 +325,7 @@ static void event_fire_internal( event_t *event )
array_list_t *fire=0;
int was_subshell = is_subshell;
int was_interactive = is_interactive;
// int was_interactive = is_interactive;
/*
First we free all events that have been removed
@ -402,7 +402,7 @@ static void event_fire_internal( event_t *event )
they are marked as non-interactive and as a subshell
*/
is_subshell=1;
is_interactive=0;
// is_interactive=0;
eval( (wchar_t *)b->buff, 0, TOP );
}
@ -411,7 +411,7 @@ static void event_fire_internal( event_t *event )
Restore interactivity flags
*/
is_subshell = was_subshell;
is_interactive = was_interactive;
// is_interactive = was_interactive;
if( b )
{