Compare commits
1 Commits
58276638a7
...
6d0190c9c0
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d0190c9c0 |
@@ -66,7 +66,10 @@ extern "C" {
|
|||||||
#pragma region types
|
#pragma region types
|
||||||
|
|
||||||
|
|
||||||
/* first 16 colors from xterm256 supported by any terminal emulator */
|
// 16 ANSI colors supported by any terminal emulator.
|
||||||
|
// It's better to use xterm256 colors istead,
|
||||||
|
// because ANSI colors look different in each terminal.
|
||||||
|
// https://www.ditig.com/256-colors-cheat-sheet
|
||||||
enum {
|
enum {
|
||||||
TimColor16_Black = 0x00,
|
TimColor16_Black = 0x00,
|
||||||
TimColor16_DarkRed = 0x01,
|
TimColor16_DarkRed = 0x01,
|
||||||
|
|||||||
@@ -65,8 +65,9 @@ The layout automatically adopts to terminal window resize events.
|
|||||||
|
|
||||||
## colors
|
## colors
|
||||||
Colors are stored as 8-bit values.
|
Colors are stored as 8-bit values.
|
||||||
Most terminals support 16 basic colors. You can see them in TimColor16 enum.
|
Most terminals support 16 ANSI colors. You can see them in TimColor16 enum.
|
||||||
There is also support for xterm-256 colors.
|
It's better to use xterm256 colors istead, because ANSI colors look different in each terminal.
|
||||||
|
https://www.ditig.com/256-colors-cheat-sheet
|
||||||

|

|
||||||
|
|
||||||
## events
|
## events
|
||||||
|
|||||||
Reference in New Issue
Block a user