diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:40:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-04-27 03:40:06 -0400 |
commit | 06445fe6e42f44bbb14f00afee97865b58250a70 (patch) | |
tree | e0d5d7382c91b5902a3042cded6a548a29c50750 /src/cell.rs | |
parent | de82973a9e4a5d50547587b7f3aa092223240826 (diff) | |
download | vt100-rust-06445fe6e42f44bbb14f00afee97865b58250a70.tar.gz vt100-rust-06445fe6e42f44bbb14f00afee97865b58250a70.zip |
fgcolor and bgcolor for the screen
Diffstat (limited to 'src/cell.rs')
-rw-r--r-- | src/cell.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/cell.rs b/src/cell.rs index ef12756..e78f16c 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -8,17 +8,10 @@ use types; pub struct Cell(*mut types::CellImpl); #[repr(C)] -struct CellAttrs { - fgcolor: types::ColorImpl, - bgcolor: types::ColorImpl, - attrs: libc::c_uchar, -} - -#[repr(C)] struct CellPrefix { pub contents: [libc::c_char; 8], pub len: libc::size_t, - pub attrs: CellAttrs, + pub attrs: types::CellAttrs, } impl Cell { |