Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
console.lua: don't highlight the first completion with mp.input.get
The first completion is highlighted because it is automatically inserted when pressing Enter, but this isn't the case when the console is used with mp.input.get, and autoselecting it can be undesirable if you're entering arbitrary text, unlike with mpv commands where you're usually choosing from predefined lists. So just don't highlight the first completion for mp.input clients.
- Loading branch information