vadd: Allow listing multiple desired values for a field.

This commit is contained in:
Joey Hess 2014-03-02 15:36:45 -04:00
parent c2e8c21ca6
commit 7d9486a709
5 changed files with 36 additions and 28 deletions

View file

@ -36,6 +36,6 @@ start = go =<< currentView
else next $ next $ checkoutViewBranch v' narrowView
vcycle rest (c:cs)
| multiValue (viewFilter c) = rest ++ cs ++ [c]
| viewVisible c = rest ++ cs ++ [c]
| otherwise = vcycle (c:rest) cs
vcycle rest c = rest ++ c