aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: 39df06d319dcecd8d09a0d8295e14a43e33f4311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * config.h
 *
 * Configuration file. Modify these to customize T.
 */

/* Minimum width/height, in characters */
#define CONFIG_MIN_WIDTH  20
#define CONFIG_MIN_HEIGHT 5

/* Font name */
#define CONFIG_FONT_NAME "Terminus 9"

/* Color palette definition */
/* PALETTE_SIZE must be 8, 16, 24 or between 25 and 255, inclusive */
#define CONFIG_PALETTE_SIZE 16

static const char *CONFIG_COLOR_PALETTE[CONFIG_PALETTE_SIZE] = {
	"#000000", /* 0 Black */
	"#a5372e", /* 1 Red */
	"#4a663c", /* 2 Green */
	"#7c5618", /* 3 Yellow */
	"#566060", /* 4 Blue */
	"#8e4948", /* 5 Magenta */
	"#6d5b42", /* 6 Cyan */
	"#8d8d8d", /* 7 White */
	"#2b2b2b", /* 8 Black */
	"#e06c5c", /* 9 Red */
	"#7b996c", /* 10 Green */
	"#b38849", /* 11 Yellow */
	"#889393", /* 12 Blue */
	"#c67c78", /* 13 Magenta */
	"#a28d73", /* 14 Cyan */
	"#c6c6c6", /* 15 White */
};

/* Foreground and background. */
#define CONFIG_FOREGROUND_COLOR "#757575" /* COLOR_PALETTE[7] */
#define CONFIG_BACKGROUND_COLOR "#151515" /* COLOR_PALETTE[0] */

/* Scrollback lines (0 means disabled; negative means "infinite") */
#define CONFIG_SCROLLBACK_LINES 2000

/* Mouse auto-hide (TRUE or FALSE) */
#define CONFIG_MOUSE_AUTOHIDE TRUE

/* Audible bell (TRUE or FALSE) */
#define CONFIG_AUDIBLE_BELL FALSE

/* Visible bell (TRUE or FALSE) */
#define CONFIG_VISIBLE_BELL FALSE