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;