aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-20 10:10:24 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-20 22:13:32 +0200
commit9c16ab41361e8be0ef301212c48905a229a8e451 (patch)
treebb04e440ddcf3dde393a9346c6a1ecf8d451dc54
parentf241a7016adf668cefca2c1b77cc756a389a309b (diff)
downloadnncmpp-9c16ab41361e8be0ef301212c48905a229a8e451.tar.gz
nncmpp-9c16ab41361e8be0ef301212c48905a229a8e451.tar.xz
nncmpp-9c16ab41361e8be0ef301212c48905a229a8e451.zip
Mark an issue for later
-rw-r--r--nncmpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 2b20f2b..6c1aa55 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -2141,6 +2141,8 @@ current_tab_move_song (const char *id, int diff)
char *target_str = xstrdup_printf ("%d", target);
mpd_client_send_command (c, "moveid", id, target_str, NULL);
free (target_str);
+ // TODO: we should create a cancellable action waiting for the move to
+ // finish, so that holding Shift-arrows works as expected.
mpd_client_add_task (c, mpd_on_simple_response, NULL);
mpd_client_idle (c, 0);