summaryrefslogtreecommitdiff
path: root/src/grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid.rs')
-rw-r--r--src/grid.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grid.rs b/src/grid.rs
index a3009f8b..f5c98afb 100644
--- a/src/grid.rs
+++ b/src/grid.rs
@@ -19,6 +19,13 @@ pub struct Cell {
pub c: char,
pub fg: Rgb,
pub bg: Rgb,
+ pub flags: CellFlags,
+}
+
+bitflags! {
+ pub flags CellFlags: u32 {
+ const INVERSE = 0b00000001,
+ }
}
impl Cell {
@@ -27,6 +34,7 @@ impl Cell {
c: c.into(),
bg: Default::default(),
fg: Default::default(),
+ flags: CellFlags::empty(),
}
}
}