mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 20:27: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);
|
||||
|
||||
if (complete && isArray(arg)) {
|
||||
args.completeFilter = arg[arg.length - 1];
|
||||
args.completeFilter = arg[arg.length - 1] || "";
|
||||
args.completeStart += orig.length - args.completeFilter.length;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user