mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 14:27:59 +01:00
Allow <Tab> completion of ;hint modes (again).
This commit is contained in:
@@ -152,6 +152,8 @@ const modes = (function () //{{{
|
||||
mainModes.push(this[name]);
|
||||
},
|
||||
|
||||
getMode: function (name) modeMap[name],
|
||||
|
||||
// show the current mode string in the command line
|
||||
show: function ()
|
||||
{
|
||||
@@ -180,12 +182,12 @@ const modes = (function () //{{{
|
||||
// if a main mode is set, the extended is always cleared
|
||||
if (typeof mainMode === "number")
|
||||
{
|
||||
if (!silent && mainMode != main)
|
||||
handleModeChange(main, mainMode);
|
||||
|
||||
main = mainMode;
|
||||
if (!extendedMode)
|
||||
extended = modes.NONE;
|
||||
|
||||
if (!silent && mainMode != main)
|
||||
handleModeChange(main, mainMode);
|
||||
}
|
||||
if (typeof extendedMode === "number")
|
||||
extended = extendedMode;
|
||||
|
||||
Reference in New Issue
Block a user