diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2007-05-10 11:36:22 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2007-05-10 11:36:22 +0000 |
commit | ac1c48349664604fbaf5a69130be94ad0f472682 (patch) | |
tree | 741171c9915e4ce641322a65c1d75cf56d799635 /Src/init.c | |
parent | 7d700220cf49f91ba9235cc338570cf9e7bfaafc (diff) | |
download | zsh-ac1c48349664604fbaf5a69130be94ad0f472682.tar.gz zsh-ac1c48349664604fbaf5a69130be94ad0f472682.tar.xz zsh-ac1c48349664604fbaf5a69130be94ad0f472682.zip |
23409: disable prompt_sp output after ^D was seen and message printed
Diffstat (limited to 'Src/init.c')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index b987f1399..6c5421e6f 100644 --- a/Src/init.c +++ b/Src/init.c @@ -123,6 +123,7 @@ loop(int toplevel, int justonce) errflag = 0; } } + use_exit_printed = 0; intr(); /* interrupts on */ lexinit(); /* initialize lexical state */ if (!(prog = parse_event())) { /* if we couldn't parse a list */ @@ -1335,7 +1336,6 @@ zsh_main(UNUSED(int argc), char **argv) init_misc(); for (;;) { - use_exit_printed = 0; /* * See if we can free up some of jobtab. * We only do this at top level, because if we are |