A simple crate to facilitate input and output within programs, with a set of macros. Example:
use *;
use Write;
clear!;
addstr!;
addln!;
getstr!;
down!;
right!;
addstr!;
getstr!;
addstr!;
getstr!;
mv!;
addstr!;
getstr!;
down!;
addln!;
getstr!;
line_up!;
clear_line!;
line_down!;
addln!;
getstr!;
clear!;
Copypaste this into a main.rs for a demonstration of the crate (rust playground doesn't support input for some reason?) Note: Since this uses ANSI escape codes for clear!(), mv!(), etc. it may not work on some terminals/systems.