Module console

Source
Expand description

Virtual text console.

The Console works as a virtual shell that renders on screen all output of stdout. As such, it is useful as a basic interface to show info to the user, such as in simple “Hello World” applications or more complex software that does not need much user interaction.

Have a look at redirect_stderr or Soc::redirect_to_3dslink for better alternatives when debugging applications.

Structs§

Console
Virtual text console.

Enums§

Axis
2D coordinate axes.
Destination
Destination for stderr redirection with redirect_stderr.
Dimension
2D dimensions.
Error
Error enum for generic errors within Console.

Traits§

ConsoleScreen
A Screen that can be used as a target for Console.

Functions§

redirect_stderr
Send output from stderr to the specified Destination. This function can be used to capture error and panic messages with GDB or other debuggers.