readEvent



fun readEvent(submittedLineLimit: Int): TerminalEvent(source)

Also accepts an atomic host-submitted line, bounded in UTF-16 units. A zero limit marks a line editor with a draft; submissions are rejected. The caller must enable reception only when a complete line can be accepted.