diff options
Diffstat (limited to 'common/content/dactyl.js')
-rw-r--r-- | common/content/dactyl.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 86a1b1c2..b7880e54 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -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); } }, |