pub mod cursor;
mod ansi_cursor;
#[cfg(target_os = "windows")]
mod winapi_cursor;
use self::ansi_cursor::AnsiCursor;
#[cfg(target_os = "windows")]
use self::winapi_cursor::WinApiCursor;
pub use self::cursor::{cursor, TerminalCursor};
use std::rc::Rc;
pub trait ITerminalCursor {
fn goto(&self, x: u16, y: u16);
fn pos(&self) -> (u16, u16);
fn move_up(&self, count: u16);
fn move_right(&self, count: u16);
fn move_down(&self, count: u16);
fn move_left(&self, count: u16);
fn save_position(&self);
fn reset_position(&self);
fn hide(&self);
fn show(&self);
fn blink(&self, blink: bool);
}