Skip to content

Commit

Permalink
[input] don't queue further terminal input following stdineof #2525
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 6, 2022
1 parent 5de0a24 commit a6d98ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a6d98ba

Please sign in to comment.