ConsoleInput
A class in Root.Township, WindowsConsole.
Line editor for the Windows server console: keeps a typed line at the bottom while log lines print above it, with cursor keys, word jumps and history. Runs on the console thread.
- Listed in ATT, Features and other game namespaces
Constructors
| Member | What it is |
|---|---|
ConsoleInput() | Creates a ConsoleInput with default values. |
Fields
5 private and internal fields
Properties
| Member | What it is |
|---|---|
int CurrentCursorPosition { get; } | Cursor position within the typed text. |
string InputString { get; } | The text typed so far. |
Events
| Member | What it is |
|---|---|
event Action<string> OnInputText | Raised with each line the user enters. |
Methods
14 private and internal methods
Used in
Members of other types that take, return or hold a ConsoleInput: