Show / Hide Table of Contents

Enum StandardHandleInfo.ConsoleOutputModes

Use these flags with SetConsoleMode to control how long output lines are handled.

Namespace: WizardWrx.ConsoleStreams
Assembly: WizardWrx.ConsoleStreams.dll
Syntax
public enum ConsoleOutputModes : int
Remarks

In wincon.h, these are defined as symbolic constants, although there is ample justification for rolling them into a bit-mapped enumeration. I suspect the reason they aren't is that the change would break too much legacy code.

For the present, SetConsoleMode is not called.

Though currently unused, the enumeration is reserved for future use.

The summaries shown here for all but the last member of this enumeration are quoted verbatim from the MSDN manual page of the SetConsoleMode function cited below.

Fields

Name Description
ENABLE_PROCESSED_OUTPUT

Characters written by the WriteFile or WriteConsole function or echoed by the ReadFile or ReadConsole function are examined for ASCII control sequences and the correct action is performed. Backspace, tab, bell, carriage return, and line feed characters are processed.

ENABLE_WRAP_AT_EOL_OUTPUT

When writing with WriteFile or WriteConsole or echoing with ReadFile or ReadConsole, the cursor moves to the beginning of the next row when it reaches the end of the current row. This causes the rows displayed in the console window to scroll up automatically when the cursor advances beyond the last row in the window. It also causes the contents of the console screen buffer to scroll up (discarding the top row of the console screen buffer) when the cursor advances beyond the last row in the console screen buffer. If this mode is disabled, the last character in the row is overwritten with any subsequent characters.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX