aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-11-15 11:23:11 +0000
committerKalle Wallin <kaw@linux.se>2004-11-15 11:23:11 +0000
commite3c905a56bcc1fed3848485201a4a434aa9fc162 (patch)
treeaed87e32dc8c39473fa86b3d11d2048a06ac055f /src/command.c
parent41d25e22f8b3fabc954d5b58db6d1d36706aa418 (diff)
downloadmpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.tar.gz
mpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.tar.xz
mpd-e3c905a56bcc1fed3848485201a4a434aa9fc162.zip
Added a search screen
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index aecf31ab7..5b235e678 100644
--- a/src/command.c
+++ b/src/command.c
@@ -172,8 +172,15 @@ static command_definition_t cmds[] =
/* extra screens */
+#ifdef ENABLE_SEARCH_SCREEN
+ { {'4', F4, 0 }, 0, CMD_SCREEN_SEARCH, "screen-search",
+ N_("Search screen") },
+ { {'m', 0, 0 }, 0, CMD_SEARCH_MODE, "search-mode",
+ N_("Change search mode") },
+#endif
+
#ifdef ENABLE_CLOCK_SCREEN
- { {'4', F4, 0 }, 0, CMD_SCREEN_CLOCK, "screen-clock",
+ { {'5', F5, 0 }, 0, CMD_SCREEN_CLOCK, "screen-clock",
N_("Clock screen") },
#endif