Repository navigation
Make :clear -p work properly for playlists - #1523
Merged
Merged
Conversation
Closed
Previously, :clear in the playlist view was silently ignored unless the cursor was in the track window, and an explicit :clear -p cleared the visible playlist while :add -p adds to the marked one, which made cmus-remote -c unreliable since it does clear/add -p. Now, :clear -p always clears the marked playlist (like :add -p), and :clear in the playlist view clears the selected playlist from either pane (like win-remove/win-update/pl-rename/pl-export). fixes cmus#1423 Co-Authored-By: jdholtz <[email protected]>
flyingmutant
force-pushed
the
clear-marked-pl
branch
from
October 3, 2026 09:58
0ad46fe to
30bbb7b
Compare
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, :clear in the playlist view was silently ignored unless the cursor was in the track window, and an explicit :clear -p cleared the visible playlist while :add -p adds to the marked one, which made cmus-remote -c unreliable since it does clear/add -p.
Now, :clear -p always clears the marked playlist (like :add -p), and :clear in the playlist view clears the selected playlist from either pane (like win-remove/win-update/pl-rename/pl-export).
fixes #1423
closes #1427 (replaces it)