[][src]Module endbasic_core::console

Console representation and manipulation.

Structs

ClsCommand

The CLS command.

ColorCommand

The COLOR command.

InputCommand

The INPUT command.

LocateCommand

The LOCATE command.

Position

Represents a position in the console.

PrintCommand

The PRINT command.

Enums

ClearType

Indicates what part of the console to clear on a Console::clear() call.

Key

Decoded key presses as returned by the console.

Traits

Console

Hooks to implement the commands that manipulate the console.

Functions

all_commands

Adds all console-related commands for the given console to the machine.

read_line

Reads a line from the console. If the console is interactive, this does fancy line editing and uses the given prompt and pre-fills the input with previous.