[][src]Crate bear_lib_terminal

Slightly rustic FFI for BearLibTerminal.

All BearLibTerminal function equivalents reside inside the terminal module.

Examples

This example is not tested
use bear_lib_terminal::terminal;

terminal::open("Test", 80, 30);
terminal::print_xy(0, 0, "[color=red]asdf[bkcolor=blue]asdf");
terminal::refresh();
let _ = terminal::wait_event();
terminal::close();

Modules

geometry

Helper structs for abstracting on-screen geometry.

terminal

Rusticized interface for the FFI.

Structs

Color

An RGBA colour repr.