1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 08:27:59 +01:00

Don't change the command line when running :tab, :time, and :silent.

This commit is contained in:
Doug Kearns
2009-08-21 01:37:35 +10:00
parent b0f4af5e55
commit 9909a85757
3 changed files with 4 additions and 4 deletions

View File

@@ -708,7 +708,7 @@ const liberator = (function () //{{{
args = args.string;
if (args[0] == ":")
var method = function () liberator.execute(args);
var method = function () liberator.execute(args, null, true);
else
method = liberator.eval("(function () {" + args + "})");

View File

@@ -359,7 +359,7 @@ function Tabs() //{{{
function (args)
{
liberator.forceNewTab = true;
liberator.execute(args.string);
liberator.execute(args.string, null, true);
liberator.forceNewTab = false;
},
{
@@ -375,7 +375,7 @@ function Tabs() //{{{
for (let i = 0; i < tabs.count; i++)
{
tabs.select(i);
liberator.execute(args.string);
liberator.execute(args.string, null, true);
}
},
{

View File

@@ -934,7 +934,7 @@ function CommandLine() //{{{
"Run a command silently",
function (args)
{
commandline.runSilently(function () liberator.execute(args[0]));
commandline.runSilently(function () liberator.execute(args[0], null, true));
},
{
completer: function (context) completion.ex(context),