bear-lib-terminal 1.3.1

BearLibTerminal FFI for Rust

Crate bear_lib_terminal [] [src]

Slightly rustic FFI for BearLibTerminal.

All BearLibTerminal function equivalents reside inside the terminal module.

Examples

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();Run

Modules

geometry

Helper structs for abstracting on-screen geometry.

terminal

Rusticized interface for the FFI.

Structs

Color

An RGBA colour repr.