#define EINVAL
Invalid argument.
int printf(const char *fmt,...)
Write a formatted string to the console.
static void ansicol_background(unsigned int colour)
Set ANSI background colour.
#define COLOR_SEPARATOR_BG
#define CPAIR_EDIT
Editable text.
uint8_t foreground
Foreground colour index.
Display colour configuration.
void ansicol_set_pair(unsigned int cpair)
Set ANSI foreground and background colour.
#define CPAIR_NORMAL
Normal text.
#define CSI
Control Sequence Introducer.
An ANSI colour pair definition.
#define CPAIR_PXE
PXE selected menu entry.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
#define colour
Colour for debug messages.
#define COLOR_SEPARATOR_FG
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int ansicol_define_pair(unsigned int cpair, unsigned int foreground, unsigned int background)
Define ANSI colour pair.
#define CPAIR_ALERT
Error text.
__weak void ansicol_set(unsigned int colour, unsigned int which)
Set ANSI colour (when no colour definition support is present)
#define CPAIR_URL
URL text.
#define CPAIR_SEPARATOR
Unselectable text (e.g.
static struct ansicol_pair ansicol_pairs[]
ANSI colour pair definitions.
#define CPAIR_DEFAULT
Default colour pair.
static void ansicol_foreground(unsigned int colour)
Set ANSI foreground colour.
#define CPAIR_SELECT
Highlighted text.
#define __weak
Declare a function as weak (use before the definition)
uint8_t background
Background colour index.