mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
zsh-workers/8210
This commit is contained in:
parent
60bc079540
commit
2dc06f464c
2 changed files with 7 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ trap 'print -p exit;return' INT
|
|||
coproc command nslookup
|
||||
pid=$!
|
||||
|
||||
while read -pk1 char; do
|
||||
while read -pk 1 char; do
|
||||
line="$line$char"
|
||||
[[ "$line" = *'
|
||||
> ' ]] && break
|
||||
|
|
@ -21,7 +21,7 @@ line=''
|
|||
while vared -p '> ' line; do
|
||||
print -p "$line"
|
||||
line=''
|
||||
while read -pk1 char; do
|
||||
while read -pk 1 char; do
|
||||
line="$line$char"
|
||||
[[ "$line" = *'
|
||||
> ' ]] && break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue