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
1237
April 3, 2019
Timeout option in read_term according to call_with_time_limit/2 ? (How to check for non-blocking input.)
Help!
6
362
September 19, 2019
I want to read a stream that contains newlines to end-of-file character
Help!
how-to
16
2037
September 7, 2020
How to turn off "|:" prompt for reading from user_input?
Help!
11
1517
January 14, 2020
How does one read keyboard input using SWI-prolog without local echo, specifically the arrow keys?
Help!
6
3048
November 6, 2020