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:
@@ -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 + "})");
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user