diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-27 16:52:36 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-27 16:52:36 +0000 |
commit | 95b5a376967fa1767e6503b2bc1b9594d6c910e9 (patch) | |
tree | 8f1e3cd1f0dbba5d9a01fb5b3fadf0ce51291c4b /screen_file.c | |
parent | fe441717ab5bbebbf3bb3d518079636c14ef9357 (diff) | |
download | mpd-95b5a376967fa1767e6503b2bc1b9594d6c910e9.tar.gz mpd-95b5a376967fa1767e6503b2bc1b9594d6c910e9.tar.xz mpd-95b5a376967fa1767e6503b2bc1b9594d6c910e9.zip |
Added update command.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@513 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | screen_file.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/screen_file.c b/screen_file.c index 762752e0a..19230e0ce 100644 --- a/screen_file.c +++ b/screen_file.c @@ -396,8 +396,12 @@ file_cmd(screen_t *screen, mpd_client_t *c, command_t cmd) break; case CMD_DELETE: handle_delete(screen, c); - return 1; break; + case CMD_SCREEN_UPDATE: + mpc_update_filelist(c); + list_window_check_selected(screen->filelist, c->filelist_length); + screen_status_printf("Screen updated!"); + return 1; case CMD_LIST_FIND: case CMD_LIST_RFIND: case CMD_LIST_FIND_NEXT: |