1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
profanity/src/config/color.h
Aurelien Aptel 269afa53b4 Add 256 colors support
Themes can now use color names from the xterm color name list [1].

1: https://jonasjacek.github.io/colors/
2019-08-23 13:25:45 +02:00

13 lines
248 B
C

#ifndef _COLOR_H_
#define _COLOR_H_
/* to access color names */
#define COLOR_NAME_SIZE 256
extern const char *color_names[];
/* to add or clear cache */
int color_pair_cache_get(const char *pair_name);
void color_pair_cache_reset(void);
#endif