From 7cf7f121e8def74e6b76c6bfbeda015ddbda315b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 21 Nov 2015 17:21:21 +0000 Subject: [PATCH] Fix onkey autoinfo --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_handler.cc b/src/input_handler.cc index 353ced8a..e570c2b3 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1416,7 +1416,7 @@ DisplayLine InputHandler::mode_line() const bool show_auto_info_ifn(StringView title, StringView info, AutoInfo mask, const Context& context) { - if ((context.options()["autoinfo"].get() & mask) or + if (not (context.options()["autoinfo"].get() & mask) or not context.has_ui()) return false;