mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Colors
This commit is contained in:
parent
9b1930588f
commit
b59a22bef0
1 changed files with 11 additions and 0 deletions
11
screen.h
11
screen.h
|
@ -20,6 +20,17 @@ struct line_entry_t
|
|||
int color;
|
||||
};
|
||||
|
||||
class rgb_color_t {
|
||||
unsigned char rgb[3];
|
||||
public:
|
||||
|
||||
rgb_color_t(unsigned char r, unsigned char g, unsigned char b)
|
||||
{
|
||||
rgb[0] = r;
|
||||
rgb[1] = g;
|
||||
rgb[2] = b;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
A class representing a single line of a screen.
|
||||
|
|
Loading…
Reference in a new issue