aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index 740939d10..11dba9993 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -59,6 +59,7 @@
#define CONF_XTERM_TITLE "set-xterm-title"
#define CONF_ENABLE_MOUSE "enable-mouse"
#define CONF_CROSSFADE_TIME "crossfade-time"
+#define CONF_SEARCH_MODE "search-mode"
typedef enum {
KEY_PARSER_UNKNOWN,
@@ -472,6 +473,10 @@ read_rc_file(char *filename, options_t *options)
{
options->crossfade_time = atoi(value);
}
+ else if( !strcasecmp(CONF_SEARCH_MODE, name) )
+ {
+ options->search_mode = atoi(value);
+ }
else
{
match_found = 0;