Terminal
Public / Methods
Peek
Peeks at the next character from the standard input stream without changing the stream position.
This method will block until at least one input character is available.
Read
Reads the next character from the standard input stream.
This method will block until at least one input character is available.
Window
The calling process wants to have separate console window.
If the calling process already has a console window, the method tries to set the console window title. Otherwise, a new console window is created and the standard streams are redirected to it. If for some reason a console window cannot be created, the method will return silently.
Public / Attributes
Columns
Returns the column count of the system console window.
If the column count has been specified explicitly, that value is returned. Otherwise, the system console window width is returned. In case the width cannot be determined, the default value 116
is returned (which nicely fits into one half of a 1920x1080
screen when using a raster font having a pixel width of 8
).