IWorkaround Interface |
public interface IWorkaround : IConsoleOutput, IConsoleInput
The IWorkaround type exposes the following members.
| Name | Description | |
|---|---|---|
| In | A TextReader for stdin. | |
| KeyAvailable |
Gets a value indicating whether a key press is available in the input stream.
(Inherited from IConsoleInput) |
| Name | Description | |
|---|---|---|
| AllocTheConsole | Allocates the console. TODO: LINUX version. Currently Windows only. Silent nop. | |
| AllowRedraw | Allows redrawing of the given window. TODO: LINUX version. Currently Windows only. Silent nop. | |
| AttachTheConsole | Attaches the console. TODO: LINUX version. Currently Windows only. Silent nop. | |
| Clear |
Clears console display.
(Inherited from IConsoleOutput) | |
| FreeTheConsole | Frees the console. TODO: LINUX version. Currently Windows only. Silent nop. | |
| PreventComputerFromGoingIntoSleepMode | Prevents the computer from going into sleep mode or allows it again. To be set when you start a long running computation without user interaction or network I/O, to be reset afterwards (so the computer can fall asleep again in case there's nothing going on). Not calling this function the computer would fall asleep after a while even at 100% CPU usage and disk usage, as might happen if you are executing some graph rewrite sequences for an excessive simulation. TODO: LINUX version. Currently Windows only. Silent nop. | |
| PreventRedraw | Prevents redrawing of the given window. TODO: LINUX version. Currently Windows only. Silent nop. | |
| PrintHighlighted |
Prints the given text in a highlighted form.
(Inherited from IConsoleOutput) | |
| ReadKey |
Reads a key from stdin and displays it in the console.
(Inherited from IConsoleInput) | |
| ReadKey(Boolean) |
Reads a key from stdin and optionally displays it in the console.
(Inherited from IConsoleInput) | |
| ReadKeyWithControlCAsInput |
Reads a key from stdin. Does not display it. Also allows Control-C as input.
(Inherited from IConsoleInput) |
| Name | Description | |
|---|---|---|
| CancelKeyPress | (Inherited from IConsoleInput) |