grux 0.2.0

A library for drawing grid-based user interfaces using ASCII characters
Documentation
fn main() {
    // Provides a uniform interface for drawing to a 2D grid.
    use grux::GridWriter;

    // Create a 3x3 2D array.
    // Alternatives provided by `grux`: `Vec<Vec<T>>` and `String`.
    let mut grid = [[' '; 3]; 3];

    // Draw some random stuff. In practice, you'd probably use a loop :P.
    grid.set((0, 0), '');
    grid.set((1, 0), '');
    grid.set((2, 0), '');
    grid.set((0, 1), '');
    grid.set((2, 1), '');
    grid.set((0, 2), '');
    grid.set((1, 2), '');
    grid.set((2, 2), '');

    // Provides a uniform interface for displaying a 2D grid.
    use grux::DisplayGrid;

    // Print the grid.
    // ╔═╗
    // ║ ║
    // ╚═╝
    println!("{}", grid.to_string().unwrap());
}