mpv
mpv copied to clipboard
console.lua: implement a command parser to complete more things
This allows more completions than patterns:
Both single and double quotes are recognized. Quotes around the first token are recognized. Command prefixes are recognized. Choice options are completed after change-list/vf/af add/append/pre/set. File paths are completed after set/cycle-values/change-list with options that expect files, including cycling between paths with spaces, e.g. cycle-values glsl-shaders 'foo bar' 'baz qux'. File paths are completed in the fourth argument of dump-cache. Items that have been set are completed after change-list remove.
Download the artifacts for this pull request: