Crate winconsole [] [src]

This crate provides a wrapper for console-related functions in the Windows API.

Usage

Add the following to Cargo.toml:

[dependencies]
winconsole = "0.4"

Then, add the following to your code:

extern crate winconsole;

In order to use features related to input, the input feature is required.
Add this to Cargo.toml:

[dependencies.winconsole]
version = "0.4"
features = ["input"]

Modules

console

Contains console-related functions, structs, and enums.

errors

Contains various error types.

input

Contains input-related functions, structs, and enums.

Macros

cprint

Prints a colored message to the console. This has a side effect of flushing the console output.

cprintln

Prints a colored message to the console with a newline. This has a side effect of flushing the console output.