mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-01 19:41:00 +02:00
*** empty log message ***
This commit is contained in:
parent
e0dc80e0e5
commit
468e3b59dc
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2000-11-08 Sven Wischnowsky <wischnow@zsh.org>
|
2000-11-08 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
|
* ?????: Src/Modules/zpty.c: use possible read character from
|
||||||
|
read_poll() in loop in ptyread()
|
||||||
|
|
||||||
* 13128: Completion/Builtins/_zstyle, Completion/Core/_match,
|
* 13128: Completion/Builtins/_zstyle, Completion/Core/_match,
|
||||||
Completion/Core/_path_files, Doc/Zsh/compsys.yo: aloow value
|
Completion/Core/_path_files, Doc/Zsh/compsys.yo: aloow value
|
||||||
`pattern' for insert-unambiguous style to preserve patterns in the
|
`pattern' for insert-unambiguous style to preserve patterns in the
|
||||||
|
|
|
@ -483,7 +483,12 @@ ptyread(char *nam, Ptycmd cmd, char **args)
|
||||||
if (cmd->fin)
|
if (cmd->fin)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ((ret = read(cmd->fd, buf + used, 1)) == 1) {
|
if (cmd->read != -1 || (ret = read(cmd->fd, buf + used, 1)) == 1) {
|
||||||
|
if (cmd->read != -1) {
|
||||||
|
ret = 1;
|
||||||
|
buf[used] = (char) cmd->read;
|
||||||
|
cmd->read = -1;
|
||||||
|
}
|
||||||
seen = 1;
|
seen = 1;
|
||||||
if (++used == blen) {
|
if (++used == blen) {
|
||||||
if (!*args) {
|
if (!*args) {
|
||||||
|
|
Loading…
Reference in a new issue