File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -587,6 +587,7 @@ if ((!$+Opts[--refresh])); then
587
587
if int/nc::test-stdin Q0_SAVE_PIPE REPLY; then
588
588
ZUI[FIRST_0_INPUT]=$REPLY
589
589
ZUI[HAVE_0_INPUT]=1 ZUI[IO_COUNT]=15 ZUI[IO_SUM_UP]=0
590
+ iqnc_cmd_next -q $CIN0
590
591
fi
591
592
iqnc_create_histories
592
593
# cmd-exec-prompt
@@ -729,10 +730,12 @@ iqnc_fill_cmd(){
729
730
reply= ()
730
731
731
732
ZUI[COMMAND]= ${1:- $ZUI [COMMAND]}
732
- [[ $ZUI [COMMAND] != [[:space:]$' \1' -$' \x1b ' ]# ]]&&ZUI[HAVE_0_INPUT]=0
733
- iqnc_get_command
734
- : ${ZUI[COMMAND]:= $REPLY }
733
+ if [[ $Q0_SAVE_PIPE -eq 0 ]]; then
734
+ iqnc_get_command
735
+ : ${ZUI[COMMAND]:= $REPLY }
736
+ fi
735
737
if [[ -n $ZUI [COMMAND] ]]; then
738
+ [[ $ZUI [COMMAND] != [[:space:]$' \1-\x1b ' ]# ]]&&ZUI[HAVE_0_INPUT]=0
736
739
# [[ -e $ZUI[QPATH] ]]&&ZUI[COMMAND]=${ZUI[COMMAND]//\%s/${(q)ZUI[QPATH]}}
737
740
# [[ -e $ZUI[QPATH] ]]||ZUI[COMMAND]=${ZUI[COMMAND]//\%s/}
738
741
cmd=(" ${(z@ )ZUI[COMMAND]} " )
@@ -817,7 +820,7 @@ iqnc_fill_0(){
817
820
integer QFLAG QEC
818
821
REPLY=
819
822
(( Q0 _SAVE_PIPE)) && \
820
- {int/nc::read-all -u $Q0_SAVE_PIPE -t 0 -x 50 ; QEC= $? ; }
823
+ {int/nc::read-all-sys -u $Q0_SAVE_PIPE -t 0 -x 3000 -r 1 ; QEC= $? ; }
821
824
if (( ! Q0 _SAVE_PIPE)) ; then
822
825
if command ps -p " $ZUI [CMD_PID]" & > /dev/null; then
823
826
ZUI[CMD_SEEN]=$EPOCHREALTIME
You can’t perform that action at this time.
0 commit comments