Read raw input until isComplete returns true for the accumulated input or timeoutMs elapses. Raw mode and paused state are restored afterwards.
isComplete
true
timeoutMs
the accumulated input.
Read raw input until
isCompletereturnstruefor the accumulated input ortimeoutMselapses. Raw mode and paused state are restored afterwards.