Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (24 sloc) 0.712 kb
c398280 Custom colours, tab completion of nicks
Sound and Fury authored
1 #include "stdbool.h"
dbc7d09 Framework ready for custom colours
Sound and Fury authored
2 #include "ttyesc.h"
3 #pragma once
4
5 typedef struct
6 {
7 int fore;
8 int back;
9 bool hi;
10 bool ul;
11 }
12 colour;
13
14 int setcolour(colour);
c398280 Custom colours, tab completion of nicks
Sound and Fury authored
15
16 #ifdef COLOURS
17 colour c_msg[2]={{7, 0, false, true}, {7, 0, false, false}};
18 colour c_notice[2]={{7, 0, true, false}, {7, 0, true, false}};
19 colour c_join[2]={{2, 0, true, false}, {2, 0, true, false}};
20 colour c_part[2]={{6, 0, true, false}, {6, 0, true, false}};
21 colour c_quit[2]={{3, 0, true, false}, {3, 0, true, false}};
22 colour c_nick[2]={{4, 0, true, false}, {4, 0, true, false}};
23 colour c_actn[2]={{0, 3, false, 1}, {0, 3, false, false}};
24 colour c_err={1, 0, true, false};
25 colour c_unk={3, 4, false, false};
26 colour c_unn={1, 6, false, true};
27 #endif // COLOURS
Something went wrong with that request. Please try again.