render multiple lines

This commit is contained in:
Mitchell Hashimoto
2022-04-19 08:42:37 -07:00
parent 81d8ca5b9c
commit e9661fa55e
3 changed files with 9 additions and 1 deletions

View File

@@ -32,6 +32,11 @@ const Cell = struct {
char: u32,
// TODO(mitchellh): this is where we'll track fg/bg and other attrs.
/// True if the cell should be skipped for drawing
pub fn empty(self: Cell) bool {
return self.char == 0;
}
};
/// Cursor represents the cursor state.