aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/config.h b/src/config.h
index ae9458f..39df06d 100644
--- a/src/config.h
+++ b/src/config.h
@@ -5,17 +5,17 @@
*/
/* Minimum width/height, in characters */
-#define MIN_WIDTH 20
-#define MIN_HEIGHT 5
+#define CONFIG_MIN_WIDTH 20
+#define CONFIG_MIN_HEIGHT 5
/* Font name */
-#define FONT_NAME "Terminus 9"
+#define CONFIG_FONT_NAME "Terminus 9"
/* Color palette definition */
/* PALETTE_SIZE must be 8, 16, 24 or between 25 and 255, inclusive */
-#define PALETTE_SIZE 16
+#define CONFIG_PALETTE_SIZE 16
-static const char *COLOR_PALETTE[PALETTE_SIZE] = {
+static const char *CONFIG_COLOR_PALETTE[CONFIG_PALETTE_SIZE] = {
"#000000", /* 0 Black */
"#a5372e", /* 1 Red */
"#4a663c", /* 2 Green */
@@ -35,14 +35,17 @@ static const char *COLOR_PALETTE[PALETTE_SIZE] = {
};
/* Foreground and background. */
-#define FOREGROUND_COLOR "#757575" /* COLOR_PALETTE[7] */
-#define BACKGROUND_COLOR "#151515" /* COLOR_PALETTE[0] */
+#define CONFIG_FOREGROUND_COLOR "#757575" /* COLOR_PALETTE[7] */
+#define CONFIG_BACKGROUND_COLOR "#151515" /* COLOR_PALETTE[0] */
-/* Mouse auto-hide (TRUE or FALSE) */
-#define MOUSE_AUTOHIDE TRUE
+/* Scrollback lines (0 means disabled; negative means "infinite") */
+#define CONFIG_SCROLLBACK_LINES 2000
-/* Visible bell (TRUE or FALSE) */
-#define VISIBLE_BELL FALSE
+/* Mouse auto-hide (TRUE or FALSE) */
+#define CONFIG_MOUSE_AUTOHIDE TRUE
/* Audible bell (TRUE or FALSE) */
-#define AUDIBLE_BELL FALSE
+#define CONFIG_AUDIBLE_BELL FALSE
+
+/* Visible bell (TRUE or FALSE) */
+#define CONFIG_VISIBLE_BELL FALSE