mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 09:17:58 +01:00
Fix minor completion bug.
This commit is contained in:
@@ -887,7 +887,7 @@ var Commands = Module("commands", {
|
|||||||
arg = opt.type.parse(arg, quoted);
|
arg = opt.type.parse(arg, quoted);
|
||||||
|
|
||||||
if (complete && isArray(arg)) {
|
if (complete && isArray(arg)) {
|
||||||
args.completeFilter = arg[arg.length - 1];
|
args.completeFilter = arg[arg.length - 1] || "";
|
||||||
args.completeStart += orig.length - args.completeFilter.length;
|
args.completeStart += orig.length - args.completeFilter.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user