From e6f5b3c038b83803523c58ea03a770d14d10fbd8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 11 Feb 2014 22:54:08 +0000 Subject: [PATCH] Display command info only when the autoinfo option is true --- src/normal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { auto info = CommandManager::instance().command_info(cmdline); ColorPair col = get_color("Information");