diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-06 10:39:45 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2018-09-16 17:42:31 +0100 |
commit | f479764b34f997d27f591ddeb93d785f899534bb (patch) | |
tree | b40f2c7e7d1ccb353ab541f3dad80d3f8a984e07 /Src/Zle/zle_main.c | |
parent | 301ca1229a6ca967f8bd7d3c379ff6b9983a3673 (diff) | |
download | zsh-f479764b34f997d27f591ddeb93d785f899534bb.tar.gz zsh-f479764b34f997d27f591ddeb93d785f899534bb.tar.xz zsh-f479764b34f997d27f591ddeb93d785f899534bb.zip |
43396: Job control debug.
Particularly for TTY ownership.
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r-- | Src/Zle/zle_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 3487b5d9f..770c0c4f5 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -233,7 +233,7 @@ zsetterm(void) shttyinfo.lmodes &= ~LFLUSHO; #endif - attachtty(mypgrp); + ATTACHTTY(mypgrp, 18); ti = shttyinfo; #ifdef HAS_TIO if (unset(FLOWCONTROL)) @@ -917,7 +917,7 @@ getbyte(long do_keytmout, int *timeout, int full) } else if (errno == EIO && !die) { ret = opts[MONITOR]; opts[MONITOR] = 1; - attachtty(mypgrp); + ATTACHTTY(mypgrp, 19); zrefresh(); /* kludge! */ opts[MONITOR] = ret; die = 1; |