SWI-Prolog
Is there a way to drain STDIN by reading characters in non-blocking mode?
Help!
how-to
,
character-io
swi
March 15, 2021, 12:37am
3
you may also want to check with_tty_raw/1, as pointed out by Jan here:
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Get_single_char for current input stream
Help!
12
1229
April 3, 2019
Reading socket input stream until period is encountered
Help!
5
403
February 23, 2020
I want to read a stream that contains newlines to end-of-file character
Help!
how-to
16
2012
September 7, 2020
Request for comments, async ISO core standard I/O
Help!
2
479
August 10, 2022
Something similar to _kbhit()?
Help!
9
449
January 21, 2023