diff options
Diffstat (limited to 'src/term/cell.rs')
-rw-r--r-- | src/term/cell.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs index d1c6877b..cc1848d3 100644 --- a/src/term/cell.rs +++ b/src/term/cell.rs @@ -17,16 +17,16 @@ use index::Column; bitflags! { #[derive(Serialize, Deserialize)] - pub flags Flags: u32 { - const INVERSE = 0b00000001, - const BOLD = 0b00000010, - const ITALIC = 0b00000100, - const UNDERLINE = 0b00001000, - const WRAPLINE = 0b00010000, - const WIDE_CHAR = 0b00100000, - const WIDE_CHAR_SPACER = 0b01000000, - const DIM = 0b10000000, - const DIM_BOLD = 0b10000010, + pub struct Flags: u32 { + const INVERSE = 0b00000001; + const BOLD = 0b00000010; + const ITALIC = 0b00000100; + const UNDERLINE = 0b00001000; + const WRAPLINE = 0b00010000; + const WIDE_CHAR = 0b00100000; + const WIDE_CHAR_SPACER = 0b01000000; + const DIM = 0b10000000; + const DIM_BOLD = 0b10000010; } } |