fn prepare_str_from_char(content: char, width: usize, height: usize,
                             x: u16, y: u16) -> String {
        let mut y = y;
        let mut res = String::with_capacity(width * height * 2);
        for _ in 0..height {
            res.push_str(
                &format!("{}{}", cursor::Goto(x, y), content.to_string().repeat(width)));
            y += 1;
        }
        res
    }
// Fill cell with char and add Goto sequences.
Fill cell with char and add Goto sequences.
Fill cell with char and add Goto sequences .
fn prepare_str_from_char(content: char, width: usize, height: usize,
                             x: u16, y: u16) -> String {
        let mut y = y;
        let mut res = String::with_capacity(width * height * 2);
        for _ in 0..height {
            res.push_str(
                &format!("{}{}", cursor::Goto(x, y), content.to_string().repeat(width)));
            y += 1;
        }
        res
    }
fn prepare_str_from_char ( content : char , width : usize , height : usize , x : u16 , y : u16 ) -> String { let mut y = y ; let mut res = String :: with_capacity ( width * height * 2 ) ; for _ in 0 .. height { res . push_str ( & format ! ( " " cursor Goto ( x y ) content to_string ( ) repeat ( width ) ) ) ; y += 1 ; } res }
Fill cell with char and add Goto sequences.
Fill cell with char and add Goto sequences .
content
char
width
usize
height
usize
x
u16
y
u16
content
char
width
usize
height
usize
x
u16
y
u16