1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

zsh-3.1.5-pws-12

This commit is contained in:
Tanaka Akira 1999-04-15 18:20:19 +00:00
parent 7a0415cfd7
commit 04a89199d0
65 changed files with 1935 additions and 585 deletions

View file

@ -249,8 +249,21 @@ inputline(void)
free(pptbuf);
}
ingetcline = shingetline();
} else
ingetcline = (char *)zleread(ingetcpmptl, ingetcpmptr, 1);
} else {
/*
* Since we may have to read multiple lines before getting
* a complete piece of input, we tell zle not to restore the
* original tty settings after reading each chunk. Instead,
* this is done when the history mechanism for the current input
* terminates, which is not until we have the whole input.
* This is supposed to minimise problems on systems that clobber
* typeahead when the terminal settings are altered.
* pws 1998/03/12
*/
ingetcline = (char *)zleread(ingetcpmptl, ingetcpmptr,
ZLRF_HISTORY|ZLRF_NOSETTY);
histdone |= HISTFLAG_SETTY;
}
if (!ingetcline) {
return lexstop = 1;
}