From a6d98baffde3b7b3bcfb297e063e4835988796ec Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 4 Jan 2022 18:05:04 -0500 Subject: [PATCH] [input] don't queue further terminal input following stdineof #2525 --- src/lib/in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/in.c b/src/lib/in.c index de59163b7..d87afdef4 100644 --- a/src/lib/in.c +++ b/src/lib/in.c @@ -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; }