mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:17:59 +01:00
Don't close the completion list when leaving command-line mode (e.g., opening the context menu). Fix :pageinfo (which currently lacks a unit test).
--HG-- branch : key-processing
This commit is contained in:
@@ -1420,7 +1420,7 @@ var Buffer = Module("buffer", {
|
||||
let arg = args[0];
|
||||
let opt = options.get("pageinfo");
|
||||
|
||||
dactyl.assert(opt.validator(opt.parse(arg)), "E475: Invalid argument: " + arg);
|
||||
dactyl.assert(!arg || opt.validator(opt.parse(arg)), "E475: Invalid argument: " + arg);
|
||||
buffer.showPageInfo(true, arg);
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user