[][src]Crate winconsole

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

Crate License

Usage

Add the following to Cargo.toml:

[dependencies]
winconsole = "0.11"

Then, add the following to your code:

extern crate winconsole;

There are a few optional features:

These features must be added to Cargo.toml:

[dependencies.winconsole]
version = "0.11"
features = ["input", "serde", "window"]

Modules

console

Contains console-related functions, structs, and enums.

errors

Contains various error types.

input

Contains input-related functions, structs, and enums.

window

Contains window-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.