Code

Added configuration option - set-xterm-title
authorKalle Wallin <kaw@linux.se>
Thu, 24 Jun 2004 14:28:07 +0000 (14:28 +0000)
committerKalle Wallin <kaw@linux.se>
Thu, 24 Jun 2004 14:28:07 +0000 (14:28 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1644 09075e82-0dd4-0310-85a5-a0d7c8717e4f

doc/config.sample
doc/ncmpc.1
src/conf.c

index 2f8ba1ceca81df15bf305af85f9a71eaa80a9acd..755068dcc6f62bca31f6d70321160d1fbada3075 100644 (file)
@@ -26,6 +26,8 @@
 ## enable visible bell on alerts
 #visible-bell = no
 
+## change the xterm title 
+#set-xterm-title = no
 
 ##
 ## Color configuration
index fb1dfa61d1680ca1a95c44e3b3f7a51f0afa31f8..ac3a65a2136448adcd3ab1246caec11bfb16da6b 100644 (file)
@@ -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 
index 343a8a4c547084c7cee4a057cfc6a1e1e4850092..0069489fa08856f2bf9aae46c64be9a28ef70f37 100644 (file)
@@ -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"