mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 19:54:12 +01:00
Fix double command output for things like :ls|ls
This commit is contained in:
@@ -328,13 +328,12 @@ const Dactyl = Module("dactyl", {
|
||||
|
||||
modifiers = modifiers || {};
|
||||
|
||||
if (!silent)
|
||||
commandline.command = str.replace(/^\s*:\s*/, "");
|
||||
for (let [command, args] in commands.parseCommands(str.replace(/^'(.*)'$/, "$1"))) {
|
||||
if (command === null)
|
||||
throw FailedAssertion("E492: Not a " + config.appName + " command: " + args.commandString);
|
||||
|
||||
if (!silent)
|
||||
commandline.command = str.replace(/^\s*:\s*/, "");
|
||||
|
||||
command.execute(args, modifiers);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user