mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
Readd the terminal flag for jobs, as not all jobs under job control should be given the terminal.
darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
This commit is contained in:
7
parser.c
7
parser.c
@@ -2179,13 +2179,12 @@ static void eval_job( tokenizer *tok )
|
||||
case TOK_STRING:
|
||||
{
|
||||
j = job_create();
|
||||
j->command=0;
|
||||
j->fg=1;
|
||||
j->constructed=0;
|
||||
j->terminal = j->job_control && (!is_subshell && !is_event);
|
||||
j->skip_notification = is_subshell || is_block || is_event || (!is_interactive);
|
||||
|
||||
|
||||
current_block->job = j;
|
||||
|
||||
|
||||
if( is_interactive )
|
||||
{
|
||||
if( tcgetattr (0, &j->tmodes) )
|
||||
|
||||
Reference in New Issue
Block a user