summaryrefslogtreecommitdiff
path: root/common/content/modes.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/modes.js')
-rw-r--r--common/content/modes.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/content/modes.js b/common/content/modes.js
index 80e2d2b6..de88c3be 100644
--- a/common/content/modes.js
+++ b/common/content/modes.js
@@ -155,10 +155,11 @@ const modes = (function () //{{{
// show the current mode string in the command line
show: function ()
{
- if (!options["showmode"])
- return;
+ let msg = "";
+ if (options["showmode"])
+ msg = getModeMessage();
- commandline.echo(getModeMessage(), "ModeMsg", commandline.FORCE_SINGLELINE);
+ commandline.echo(msg, "ModeMsg", commandline.FORCE_SINGLELINE);
},
// add/remove always work on the extended mode only