Struct ransid::Console [] [src]

pub struct Console {
    pub display: Box<[Block]>,
    pub x: usize,
    pub y: usize,
    pub w: usize,
    pub h: usize,
    pub foreground: Color,
    pub background: Color,
    pub style: Style,
    pub cursor: bool,
    pub redraw: bool,
    pub escape: bool,
    pub escape_sequence: bool,
    pub escape_extra: bool,
    pub sequence: Vec<String>,
    pub raw_mode: bool,
}

Fields

display: Box<[Block]> x: usize y: usize w: usize h: usize foreground: Color background: Color style: Style cursor: bool redraw: bool escape: bool escape_sequence: bool escape_extra: bool sequence: Vec<String> raw_mode: bool

Methods

impl Console
[src]

fn new(w: usize, h: usize) -> Console

fn code(&mut self, c: char)

fn character(&mut self, c: char)

fn write(&mut self, bytes: &[u8])