aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index 0069489fa..8cf4f5b3a 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -53,12 +53,14 @@
#define CONF_COLOR_DEFINITION "colordef"
#define CONF_LIST_FORMAT "list-format"
#define CONF_STATUS_FORMAT "status-format"
+#define CONF_XTERM_TITLE_FORMAT "xterm-title-format"
#define CONF_LIST_WRAP "wrap-around"
#define CONF_FIND_WRAP "find-wrap"
#define CONF_AUDIBLE_BELL "audible-bell"
#define CONF_VISIBLE_BELL "visible-bell"
#define CONF_XTERM_TITLE "set-xterm-title"
+
/* Deprecated - configuration field names */
#define OLD_CONF_ENABLE_COLORS "enable_colors"
#define OLD_CONF_AUTO_CENTER "auto_center"
@@ -515,6 +517,12 @@ read_rc_file(char *filename, options_t *options)
g_free(options->status_format);
options->status_format = get_format(value);
}
+ /* xterm title format string */
+ else if( !strcasecmp(CONF_XTERM_TITLE_FORMAT, name) )
+ {
+ g_free(options->xterm_title_format);
+ options->xterm_title_format = get_format(value);
+ }
else if( !strcasecmp(CONF_LIST_WRAP, name) )
{
options->list_wrap = str2bool(value);