bear_lib_terminal/lib.rs
1//! Slightly rustic FFI for [BearLibTerminal](https://bitbucket.org/cfyzium/bearlibterminal).
2//!
3//! All [BearLibTerminal](https://bitbucket.org/cfyzium/bearlibterminal) function equivalents reside inside the [`terminal`](terminal/index.html) module.
4//!
5//! # Examples
6//!
7//! ```ignore
8//! use bear_lib_terminal::terminal;
9//!
10//! terminal::open("Test", 80, 30);
11//! terminal::print_xy(0, 0, "[color=red]asdf[bkcolor=blue]asdf");
12//! terminal::refresh();
13//! let _ = terminal::wait_event();
14//! terminal::close();
15//! ```
16
17
18extern crate bear_lib_terminal_sys;
19
20mod colors;
21pub mod geometry;
22pub mod terminal;
23
24pub use colors::Color;