Standard input and output when they are not a terminal a prompt can draw on.
Nothing is redrawn: draw/2 shows nothing, commit/2 and print/2 write plain
text to standard output, and next_event/2 always answers :closed. Prompts ask
their question on one line and read the answer as a line; see
Drafter.Prompt.Component.parse_line/2.
newline is true when standard input is not a terminal. A line break is then
written after each answer is read, since the one that ended the answer is not shown.
Summary
Types
@type t() :: %Drafter.Prompt.Terminal.Piped{newline: boolean()}
Functions
@spec open() :: t()
A piped terminal for the calling process.