summaryrefslogtreecommitdiff
path: root/src/ncmpcpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncmpcpp.cpp')
-rw-r--r--src/ncmpcpp.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp
index 93e55058..9941ba42 100644
--- a/src/ncmpcpp.cpp
+++ b/src/ncmpcpp.cpp
@@ -1109,6 +1109,11 @@ int main(int argc, char *argv[])
Mpd->UpdateStatus();
}
}
+ else if (Keypressed(input, Key.ToggleConsume))
+ {
+ Mpd->SetConsume(!Mpd->GetConsume());
+ Mpd->UpdateStatus();
+ }
else if (Keypressed(input, Key.ToggleCrossfade))
{
Mpd->SetCrossfade(Mpd->GetCrossfade() ? 0 : Config.crossfade_time);