std/stdio
Types
Stdio
@provides(stdin, stdout, stderr)
pub type Stdio = {
pub mut stdin io.Reader
pub mut stdout io.Writer
pub mut stderr io.Writer
}
Bundles stdin, stdout and stderr for a single context (...) provider; the three keys stay separate requirements, so a print-only function never needs stdin authority.
Functions
hostStdio
pub fn hostStdio(host: os.Host) -> Stdio
The host's standard streams, from stdio.hostStdio(host).