diff options
Diffstat (limited to 'color/ansi.h')
-rw-r--r-- | color/ansi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/color/ansi.h b/color/ansi.h index ccd189f28..b78b4427d 100644 --- a/color/ansi.h +++ b/color/ansi.h @@ -24,6 +24,7 @@ #define MUTT_COLOR_ANSI_H #include <stdbool.h> +#include "curses2.h" struct AttrColorList; @@ -34,8 +35,8 @@ struct AnsiColor { const struct AttrColor *attr_color; ///< Curses colour of text int attrs; ///< Attributes, e.g. A_BOLD - int fg; ///< Foreground colour - int bg; ///< Background colour + color_t fg; ///< Foreground colour + color_t bg; ///< Background colour }; int ansi_color_parse (const char *str, struct AnsiColor *ansi, struct AttrColorList *acl, bool dry_run); |