diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-02-11 22:54:08 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-03-02 01:08:11 +0000 |
| commit | e6f5b3c038b83803523c58ea03a770d14d10fbd8 (patch) | |
| tree | a6d806e10fabccc478374933cac5ee47be6114dd /src/normal.cc | |
| parent | 486d1269e08552008b9eecc9841caa0d98e3d0b2 (diff) | |
Display command info only when the autoinfo option is true
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index 34863615..d35b9d15 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -421,7 +421,7 @@ void command(Context& context, int) if (context.has_ui()) { context.ui().info_hide(); - if (event == PromptEvent::Change) + if (event == PromptEvent::Change and context.options()["autoinfo"].get<bool>()) { auto info = CommandManager::instance().command_info(cmdline); ColorPair col = get_color("Information"); |
