mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Events should not be marked as non-interactive
darcs-hash:20060116165421-ac50b-503a15877d19055be9fc640baf9430fe0c606083.gz
This commit is contained in:
parent
94b1c4c076
commit
064581c7f8
1 changed files with 3 additions and 3 deletions
6
event.c
6
event.c
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue