mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-05 09:26:32 +00:00
render multiple lines
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user