diff options
author | Samuel G. Fadel <samuelfadel@gmail.com> | 2013-02-18 12:21:41 -0300 |
---|---|---|
committer | Samuel G. Fadel <samuelfadel@gmail.com> | 2013-02-18 12:21:41 -0300 |
commit | 11942d1266298d14054f4952a8959e0703664cff (patch) | |
tree | a7737ef1f3cd51ab0899374a1e98fd6b4a8470cb /src/config.h | |
parent | f967d6eee9d248fb42d37196d776c5ec210e2386 (diff) |
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.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 27 |
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 |