Waits for a key to be pressed. Ctrl+C rejects with AbortSilentError, which terminates the process.
Raw mode is set back to the state it had before the call. A command that keeps stdin raw for
its own single-key shortcuts (for example theme dev) keeps them.
Chunks are read as text: an active Ink renderer calls stdin.setEncoding('utf8'), and then
stdin emits strings instead of Buffers.
Waits for a key to be pressed. Ctrl+C rejects with AbortSilentError, which terminates the process.
Raw mode is set back to the state it had before the call. A command that keeps stdin raw for its own single-key shortcuts (for example
theme dev) keeps them.Chunks are read as text: an active Ink renderer calls
stdin.setEncoding('utf8'), and then stdin emits strings instead of Buffers.