Struct tcurses::Console [−][src]
pub struct Console;
The struct to control the ncurses terminal Basically, it makes sure that the terminal gets created and deleted correctly
Methods
impl Console
[src]
impl Console
pub fn new() -> Console
[src]
pub fn new() -> Console
Initialize the console, this probably should only be allowed once I have no idea what would happen if you try to create more than one on the same tty
pub fn read(&self) -> char
[src]
pub fn read(&self) -> char
Read a single character from the input
pub fn write(&self, x: u64, y: u64, c: char)
[src]
pub fn write(&self, x: u64, y: u64, c: char)
Write a character to a specific place on-screen will not display if off-screen
pub fn print(&self, x: u64, y: u64, s: String)
[src]
pub fn print(&self, x: u64, y: u64, s: String)
Print out an entire string char by char