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 9dacbfbee..f1f1223a3 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -57,6 +57,7 @@
#define CONF_AUDIBLE_BELL "audible-bell"
#define CONF_VISIBLE_BELL "visible-bell"
#define CONF_XTERM_TITLE "set-xterm-title"
+#define CONF_MOUSE_EVENTS "enable-mouse"
typedef enum {
KEY_PARSER_UNKNOWN,
@@ -462,6 +463,10 @@ read_rc_file(char *filename, options_t *options)
{
options->enable_xterm_title = str2bool(value);
}
+ else if( !strcasecmp(CONF_MOUSE_EVENTS, name) )
+ {
+ options->enable_mouse_events = str2bool(value);
+ }
else
{
match_found = 0;