1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:17:59 +01:00

Better completion with quoting, but not perfect.

This commit is contained in:
Kris Maglione
2008-11-29 21:20:49 +00:00
parent 137d9cc939
commit abbf102a60
2 changed files with 18 additions and 14 deletions

View File

@@ -434,7 +434,7 @@ function Commands() //{{{
{
// Push possible option matches into completions
if (complete && !onlyArgumentsRemaining)
completeOpts = [[opt[0], opt[0][0]] for ([i, opt] in Iterator(options))];
completeOpts = [[opt[0], opt[0][0]] for ([i, opt] in Iterator(options)) if (!(opt[0][0] in args))];
}
function resetCompletions()
{