TADS 3 Library: input
This modules defines functions and objects related to reading input from the player.
We process any pending real-time events before reading the command. If the local platform supports real-time command-line interruptions, we'll continue processing real-time events as they occur in the course of command editing.
'which' is one of the rmcXxx enum values specifying what kind of command line we're reading.
The return value is a list of two elements. The first element is the string entered, and the second element is the token list.