aboutsummaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-22 18:08:17 +0000
committerKalle Wallin <kaw@linux.se>2004-03-22 18:08:17 +0000
commit60edfc515dce2963f426450d3e66e51521645252 (patch)
tree410094166b6749df842dc583a2d7926adaa4fbf4 /command.c
parent6aac153f534bfd0b8485754559854a036fcd586c (diff)
downloadmpd-60edfc515dce2963f426450d3e66e51521645252.tar.gz
mpd-60edfc515dce2963f426450d3e66e51521645252.tar.xz
mpd-60edfc515dce2963f426450d3e66e51521645252.zip
Added commands FIND and FIND_NEXT.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@367 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'command.c')
-rw-r--r--command.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/command.c b/command.c
index cd2fd5338..67e1a6975 100644
--- a/command.c
+++ b/command.c
@@ -45,8 +45,8 @@ static command_definition_t cmds[] =
{ { 13, 0, 0 }, CMD_PLAY, "Play/Enter directory" },
{ { 'p', 0, 0 }, CMD_PAUSE, "Pause" },
{ { BS, ESC, 0 }, CMD_STOP, "Stop" },
- { { 'n', 0, 0 }, CMD_TRACK_NEXT, "Next song" },
- { { 'b', 0, 0 }, CMD_TRACK_PREVIOUS, "Previous song" },
+ { { '>', 0, 0 }, CMD_TRACK_NEXT, "Next song" },
+ { { '<', 0, 0 }, CMD_TRACK_PREVIOUS, "Previous song" },
{ { '+', RGHT, 0 }, CMD_VOLUME_UP, "Increase volume" },
{ { '-', LEFT, 0 }, CMD_VOLUME_DOWN, "Decrease volume" },
@@ -64,6 +64,8 @@ static command_definition_t cmds[] =
{ { END, 0, 0 }, CMD_LIST_LAST, "Move: End" },
{ { PGUP, 0, 0 }, CMD_LIST_PREVIOUS_PAGE, "Move: Page Up" },
{ { PGDN, 0, 0 }, CMD_LIST_NEXT_PAGE, "Move: Page Down" },
+ { { '/', 0, 0 }, CMD_LIST_FIND, "Find" },
+ { { 'n', 0, 0 }, CMD_LIST_FIND_NEXT, "Find Next" },
{ { TAB, 0, 0 }, CMD_SCREEN_NEXT, "Next screen" },
{ { STAB, 0, 0 }, CMD_SCREEN_PREVIOUS, "Previous screen" },