From 31e6fa72cc45147feb11d62eba70c3d8f314301d Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Thu, 24 Jun 2004 14:28:07 +0000 Subject: [PATCH] Added configuration option - set-xterm-title git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/config.sample | 2 ++ doc/ncmpc.1 | 3 +++ src/conf.c | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/config.sample b/doc/config.sample index 2f8ba1c..755068d 100644 --- a/doc/config.sample +++ b/doc/config.sample @@ -26,6 +26,8 @@ ## enable visible bell on alerts #visible-bell = no +## change the xterm title +#set-xterm-title = no ## ## Color configuration diff --git a/doc/ncmpc.1 b/doc/ncmpc.1 index fb1dfa6..ac3a65a 100644 --- a/doc/ncmpc.1 +++ b/doc/ncmpc.1 @@ -84,6 +84,9 @@ Sound audible bell on alerts. .B visible\-bell = yes|no Visible bell on alerts. .TP +.B set\-xterm\-title = yes|no +Change the XTerm title (ncmpc will not restore the title). +.TP .B list\-format = SONG FORMAT The format used to display songs in the main window. .TP diff --git a/src/conf.c b/src/conf.c index 343a8a4..0069489 100644 --- a/src/conf.c +++ b/src/conf.c @@ -57,7 +57,7 @@ #define CONF_FIND_WRAP "find-wrap" #define CONF_AUDIBLE_BELL "audible-bell" #define CONF_VISIBLE_BELL "visible-bell" -#define CONF_XTERM_TITLE "xterm-title" +#define CONF_XTERM_TITLE "set-xterm-title" /* Deprecated - configuration field names */ #define OLD_CONF_ENABLE_COLORS "enable_colors" -- 2.30.2