diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-11-21 17:21:21 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-11-21 17:21:21 +0000 |
| commit | 7cf7f121e8def74e6b76c6bfbeda015ddbda315b (patch) | |
| tree | 67983b77b6d4cb12ee5b14e983a5ef283feda572 /src/input_handler.cc | |
| parent | b0d696d994da8c51797d462c063170092833b238 (diff) | |
Fix onkey autoinfo
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; |
