SetOutputBuffering (open)
Enable or disable standard output buffering
Syntax
LOADLIB "wh::os.whlib";
MACRO SetOutputBuffering(BOOLEAN write_to_buffer)
Parameters
BOOLEAN write_to_buffer
If output buffering should be enabled
Description
If standard output buffering is enabled, output is buffered instead of directly sent to the standard output. In order to write the buffered data to the standard output, call FlushOutputBuffer. The buffer is automatically flushed when buffering is disabled, if the buffer size would exceed the internal maximum buffer size, when ReadConsoleInput is called (before waiting for new input) and after the script has ended.