Commit 4dda14f
fix: suppress 'press q' prompt when input_stream is devnull
When input_stream=devnull, the user cannot interactively quit via stdin,
so the prompt is misleading. The stdin monitoring is already effectively
disabled because isreadable(devnull) is false, but the prompt was still
printed.
Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>1 parent 503f935 commit 4dda14f
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| |||
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
544 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
545 | 550 | | |
546 | 551 | | |
547 | 552 | | |
| |||
0 commit comments