From 11942d1266298d14054f4952a8959e0703664cff Mon Sep 17 00:00:00 2001 From: "Samuel G. Fadel" Date: Mon, 18 Feb 2013 12:21:41 -0300 Subject: Deleted config.def.h. Chaged configuration constants to have a "CONFIG_" prefix. Added CONFIG_SCROLLBACK_LINES. Delegation of ctrl+shift+c and ctrl+shift+v to the default copy/paste shortcuts from VTE. Some minor comments all over the code. --- src/config.h | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'src/config.h') 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 -- cgit v1.2.3