diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/ChangeLog | 5 | ||||
-rw-r--r-- | hurd/console.h | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog index d4c72fac..52ed7006 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,3 +1,8 @@ +2002-09-16 Marcus Brinkmann <marcus@gnu.org> + + * console.h (conchar_attr_t): Add bits for italic and bold text + attributes. + 2002-09-10 Marcus Brinkmann <marcus@gnu.org> * console.h (struct cons_display): New member FLAGS. diff --git a/hurd/console.h b/hurd/console.h index bf15e357..09fd088f 100644 --- a/hurd/console.h +++ b/hurd/console.h @@ -31,17 +31,25 @@ typedef enum typedef struct { + /* The intensity is traditionally a color attribute. */ #define CONS_ATTR_INTENSITY_NORMAL 000000000000 #define CONS_ATTR_INTENSITY_BOLD 000000000001 #define CONS_ATTR_INTENSITY_DIM 000000000002 uint32_t intensity : 2; + uint32_t underlined : 1; uint32_t blinking : 1; uint32_t reversed : 1; uint32_t concealed : 1; + + /* Color attributes. */ uint32_t bgcol : 3; uint32_t fgcol : 3; -} conchar_attr_t; + + /* Font attributes. */ + uint32_t italic : 1; + uint32_t bold : 1; +} conchar_attr_t; typedef struct { |