cell: set default cell as a space of 1 width
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
parent
02bdcd7625
commit
08d2aae5fe
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
pub const Cell = struct {
|
pub const Cell = struct {
|
||||||
char: Character,
|
char: Character = .{},
|
||||||
style: Style = .{},
|
style: Style = .{},
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const Character = struct {
|
pub const Character = struct {
|
||||||
grapheme: []const u8,
|
grapheme: []const u8 = " ",
|
||||||
width: usize,
|
width: usize = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const Style = struct {
|
pub const Style = struct {
|
||||||
|
|
Loading…
Reference in a new issue