Function console_utils::control::flush

source ·
pub fn flush()
Expand description

Flushes the output buffer, ensuring that all content is written to the console.

Example

use console_utils::control::flush;

// Flush the output buffer to ensure content is displayed immediately
flush();