Skip to main content

initialize

Function initialize 

Source
pub fn initialize()
Expand description

Initialize before parsing commands or emitting diagnostics.

console checks each output handle and enables Windows virtual-terminal processing only when the console API accepts it. A legacy console that cannot enable VT, a redirected stream, or an explicit color opt-out gets plain text. In particular, a TTY alone does not prove ANSI support.