NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
AnsiColor Struct Reference

An ANSI escape sequence. More...

#include "ansi.h"

+ Collaboration diagram for AnsiColor:

Data Fields

struct ColorElement fg
 Foreground colour.
 
struct ColorElement bg
 Background colour.
 
int attrs
 Text attributes, e.g. A_BOLD.
 
const struct AttrColorattr_color
 Curses colour of text.
 

Detailed Description

An ANSI escape sequence.

Note
AnsiColor doesn't own the AttrColor

Definition at line 34 of file ansi.h.

Field Documentation

◆ fg

struct ColorElement AnsiColor::fg

Foreground colour.

Definition at line 36 of file ansi.h.

◆ bg

struct ColorElement AnsiColor::bg

Background colour.

Definition at line 37 of file ansi.h.

◆ attrs

int AnsiColor::attrs

Text attributes, e.g. A_BOLD.

Definition at line 38 of file ansi.h.

◆ attr_color

const struct AttrColor* AnsiColor::attr_color

Curses colour of text.

Definition at line 39 of file ansi.h.


The documentation for this struct was generated from the following file: