[input] don't queue further terminal input following stdineof #2525

pull/2534/head
nick black 3 years ago committed by nick black
parent fffecdf8be
commit 28cd88f6d4

@ -479,7 +479,7 @@ mark_pipe_ready(ipipe pipes[static 2]){
static void
load_ncinput(inputctx* ictx, const ncinput *tni, int synthsig){
inc_input_events(ictx);
if(ictx->drain){
if(ictx->drain || ictx->stdineof){
send_synth_signal(synthsig);
return;
}

Loading…
Cancel
Save