aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-18 22:42:48 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-18 22:42:48 +1000
commit05736978bb5621d33d9b34467a278f6cca095940 (patch)
tree10e9fac3ccd0684c45bb13825c08540d48082242 /proc.h
parente15c7fd7e0e2459369241166e959f35c2c22bf4f (diff)
Change the foregrounf/background code a bit, fixes bug where mulktiple jobs want foreground status. Is this fix enough or are there still corner cases?
darcs-hash:20060118124248-ac50b-cbbddb8c6dad1f44826050395cda647fa9348f0f.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index b26b31e5..f4e10bd2 100644
--- a/proc.h
+++ b/proc.h
@@ -154,7 +154,10 @@ typedef struct job
/** Skip executing this job. This flag is set by the short-circut builtins, i.e. and and or */
int skip;
-
+
+ /** Whether this job wants to have control of the terminal when it is in the foreground */
+ int terminal;
+
/** Pointer to the next job */
struct job *next;
}