pink/stdout

Types

pub type Stdout

Functions

pub fn get() -> Stdout

Get the stdout stream, where Ink renders your app.

pub fn stdout(stdout: Stdout) -> Dynamic

process.stdout

pub fn write(on stdout: Stdout, chunk chunk: String) -> Nil

Write any string to stdout, while preserving Ink’s output.

It’s useful when you want to display some external information outside of Ink’s rendering and ensure there’s no conflict between the two. It’s similar to static, except it can’t accept components, it only works with strings

Search Document