aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_search.c')
-rw-r--r--src/screen_search.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index b93aef01a..981c0a58b 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -445,6 +445,14 @@ search_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
/* call list_window_cmd to go to the next item */
break;
+ case CMD_ADD:
+ if (browser_handle_add(&browser, c) == 0)
+ /* continue and select next item... */
+ cmd = CMD_LIST_NEXT;
+
+ /* call list_window_cmd to go to the next item */
+ break;
+
case CMD_SELECT_ALL:
browser_handle_select_all(&browser, c);
search_repaint();