Skip to content

Commit

Permalink
terminal: font backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed May 28, 2020
1 parent bd751d1 commit 18b0548
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 63 deletions.
243 changes: 241 additions & 2 deletions examples/terminal/main/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const uint8_t colorscheme[256] = {
0x5, // blue
0x6, // magenta
0x7, // cyan
0xC, // white
0xF, // white

// 4 bit colors
0x6, // bright black
Expand All @@ -113,7 +113,246 @@ const uint8_t colorscheme[256] = {
0xF, // bright white

// 8 bit colors
0
0, //16
0, //17
0, //18
1, //19
1, //20
1, //21
3, //22
4, //23
4, //24
4, //25
4, //26
5, //27
4, //28
5, //29
5, //30
6, //31
6, //32
6, //33
6, //34
7, //35
7, //36
7, //37
7, //38
8, //39
7, //40
8, //41
8, //42
9, //43
9, //44
9, //45
9, //46
10, //47
10, //48
10, //49
10, //50
11, //51
1, //52
2, //53
2, //54
2, //55
3, //56
3, //57
5, //58
5, //59
6, //60
6, //61
6, //62
7, //63
6, //64
7, //65
7, //66
7, //67
8, //68
8, //69
8, //70
8, //71
9, //72
9, //73
9, //74
9, //75
9, //76
10, //77
10, //78
10, //79
11, //80
11, //81
11, //82
11, //83
12, //84
12, //85
12, //86
12, //87
2, //88
3, //89
3, //90
3, //91
4, //92
4, //93
6, //94
6, //95
6, //96
7, //97
7, //98
7, //99
7, //100
8, //101
8, //102
8, //103
8, //104
9, //105
8, //106
9, //107
9, //108
10, //109
10, //110
10, //111
10, //112
11, //113
11, //114
11, //115
11, //116
12, //117
11, //118
12, //119
12, //120
13, //121
13, //122
13, //123
3, //124
3, //125
4, //126
4, //127
4, //128
5, //129
6, //130
7, //131
7, //132
7, //133
8, //134
8, //135
8, //136
8, //137
9, //138
9, //139
9, //140
10, //141
9, //142
10, //143
10, //144
10, //145
11, //146
11, //147
11, //148
11, //149
12, //150
12, //151
12, //152
12, //153
12, //154
13, //155
13, //156
13, //157
14, //158
14, //159
4, //160
4, //161
4, //162
5, //163
5, //164
5, //165
7, //166
8, //167
8, //168
8, //169
9, //170
9, //171
9, //172
9, //173
9, //174
10, //175
10, //176
10, //177
10, //178
11, //179
11, //180
11, //181
11, //182
12, //183
11, //184
12, //185
12, //186
13, //187
13, //188
13, //189
13, //190
14, //191
14, //192
14, //193
14, //194
15, //195
4, //196
5, //197
5, //198
5, //199
6, //200
6, //201
8, //202
8, //203
9, //204
9, //205
9, //206
10, //207
9, //208
10, //209
10, //210
10, //211
11, //212
11, //213
11, //214
11, //215
12, //216
12, //217
12, //218
12, //219
12, //220
13, //221
13, //222
13, //223
14, //224
14, //225
14, //226
14, //227
15, //228
15, //229
15, //230
15, //231
0, //232
1, //233
1, //234
2, //235
3, //236
3, //237
4, //238
4, //239
5, //240
6, //241
6, //242
7, //243
8, //244
8, //245
9, //246
9, //247
10, //248
11, //249
11, //250
12, //251
13, //252
13, //253
14, //254
14, //255
};

/*
Expand Down

0 comments on commit 18b0548

Please sign in to comment.