aboutsummaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-27 03:40:06 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-27 03:40:06 -0400
commit06445fe6e42f44bbb14f00afee97865b58250a70 (patch)
treee0d5d7382c91b5902a3042cded6a548a29c50750 /src/cell.rs
parentde82973a9e4a5d50547587b7f3aa092223240826 (diff)
downloadvt100-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.rs9
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 {