aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2005-06-03 16:20:42 +0000
committerKalle Wallin <kaw@linux.se>2005-06-03 16:20:42 +0000
commite116ea99668266f41966bd62d0e4759e3bd3a4e7 (patch)
treeb06ea42cb903fba36f264ade5536505c165b7108 /src/conf.c
parentd2ac8d20ee1a039df0df24a44d9f2ef901f69276 (diff)
downloadmpd-e116ea99668266f41966bd62d0e4759e3bd3a4e7.tar.gz
mpd-e116ea99668266f41966bd62d0e4759e3bd3a4e7.tar.xz
mpd-e116ea99668266f41966bd62d0e4759e3bd3a4e7.zip
Added a "hide cursor" feature #0000417
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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 11dba9993..9222ed18e 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -60,6 +60,7 @@
#define CONF_ENABLE_MOUSE "enable-mouse"
#define CONF_CROSSFADE_TIME "crossfade-time"
#define CONF_SEARCH_MODE "search-mode"
+#define CONF_HIDE_CURSOR "hide-cursor"
typedef enum {
KEY_PARSER_UNKNOWN,
@@ -477,6 +478,10 @@ read_rc_file(char *filename, options_t *options)
{
options->search_mode = atoi(value);
}
+ else if( !strcasecmp(CONF_HIDE_CURSOR, name) )
+ {
+ options->hide_cursor = atoi(value);
+ }
else
{
match_found = 0;