diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-22 18:08:17 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-22 18:08:17 +0000 |
commit | 60edfc515dce2963f426450d3e66e51521645252 (patch) | |
tree | 410094166b6749df842dc583a2d7926adaa4fbf4 /command.c | |
parent | 6aac153f534bfd0b8485754559854a036fcd586c (diff) | |
download | mpd-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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" }, |