Function console::user_attended [] [src]

pub fn user_attended() -> bool

A fast way to check if the application has a user attended.

This means that stdout is connected to a terminal instead of a file or redirected by other means.