diff options
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<AutoInfo>() & mask) or + if (not (context.options()["autoinfo"].get<AutoInfo>() & mask) or not context.has_ui()) return false; |
