fix read/1 on non-TTY stdin blocking until newline #3262

This commit is contained in:
no382001
2026-03-31 14:40:20 +02:00
parent 79a9b950cb
commit c065b52778
3 changed files with 34 additions and 5 deletions

4
tests-pl/issue3262.pl Normal file
View File

@@ -0,0 +1,4 @@
:- initialization(main).
main :-
read(Term),
write(Term).