[][src]Function meli::terminal::cells::write_string_to_grid

pub fn write_string_to_grid(
    s: &str,
    grid: &mut CellBuffer,
    fg_color: Color,
    bg_color: Color,
    attrs: Attr,
    area: Area,
    line_break: Option<usize>
) -> Pos

Write an &str to a CellBuffer in a specified Area with the passed colors.