mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
zsh-workers/10168
This commit is contained in:
parent
9117370f0d
commit
e205dee960
1 changed files with 6 additions and 2 deletions
|
@ -106,12 +106,16 @@ loop(int toplevel, int justonce)
|
|||
for (;;) {
|
||||
freeheap();
|
||||
errflag = 0;
|
||||
hbegin(1); /* init history mech */
|
||||
if (isset(SHINSTDIN)) {
|
||||
setblock_stdin();
|
||||
if (interact)
|
||||
if (interact) {
|
||||
int hstop = stophist;
|
||||
stophist = 3;
|
||||
preprompt();
|
||||
stophist = hstop;
|
||||
}
|
||||
}
|
||||
hbegin(1); /* init history mech */
|
||||
intr(); /* interrupts on */
|
||||
lexinit(); /* initialize lexical state */
|
||||
if (!(prog = parse_event())) { /* if we couldn't parse a list */
|
||||
|
|
Loading…
Reference in a new issue