commit 8c77aab
hovercats
·
2026-09-07 18:36:37 +0000 UTC
parent 2a4b315
cterm: set shell and colors the same as st for consistency
1 files changed,
+20,
-20
+20,
-20
1@@ -15,7 +15,7 @@ static const int win_fps = 60;
2 static const int pad_x = 8;
3 static const int pad_y = 8;
4
5-static const char* const shell = "/bin/ksh"; /* NULL uses $SHELL */
6+static const char* const shell = "/bin/sh"; /* NULL uses $SHELL */
7 static const char term_name[] = "vt100";
8
9 #define CTRL_DOWN (win->key_syms[MAUS_KEY_CONTROL_L] || win->key_syms[MAUS_KEY_CONTROL_R])
10@@ -32,29 +32,29 @@ static const char term_name[] = "vt100";
11 ev->key.key == MAUS_KEY_R_UP))
12
13 /* AARRGGBB */
14-static const uint32_t default_fg = 0xffffffff;
15-static const uint32_t default_bg = 0xff000000;
16+static const uint32_t default_fg = 0xccccc6;
17+static const uint32_t default_bg = 0x1d1d1d;
18 static const uint32_t cursor_fg = 0xff000000;
19 static const uint32_t cursor_bg = 0xffffffff;
20
21 static const uint32_t color_table[16] = {
22- 0xff000000, /* black */
23- 0xffcc0000, /* red */
24- 0xff4e9a06, /* green */
25- 0xffc4a000, /* yellow */
26- 0xff3465a4, /* blue */
27- 0xff75507b, /* magenta */
28- 0xff06989a, /* cyan */
29- 0xffd3d7cf, /* white */
30-
31- 0xff555753, /* bright black */
32- 0xffef2929, /* bright red */
33- 0xff8ae234, /* bright green */
34- 0xfffce94f, /* bright yellow */
35- 0xff729fcf, /* bright blue */
36- 0xffad7fa8, /* bright magenta */
37- 0xff34e2e2, /* bright cyan */
38- 0xffffffff, /* bright white */
39+ 0x1d1d1d, /* black */
40+ 0x755a5b, /* red */
41+ 0x68755a, /* green */
42+ 0x756e5a, /* yellow */
43+ 0x5b6976, /* blue */
44+ 0x755b76, /* magenta */
45+ 0x465457, /* cyan */
46+ 0xccccc6, /* white */
47+
48+ 0x5a5b5c, /* bright black */
49+ 0xa37679, /* bright red */
50+ 0x87a376, /* bright green */
51+ 0xa39b76, /* bright yellow */
52+ 0x758ba3, /* bright blue */
53+ 0x9f76a3, /* bright magenta */
54+ 0x899ca1, /* bright cyan */
55+ 0xf8f8f2, /* bright white */
56 };
57
58 #endif /* CONFIG_H */