summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-06-16 19:35:43 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-06-16 19:35:43 +0100
commit34c8e6a9cf15410a433c8a8c3901703708b85611 (patch)
tree0629e7881aedc83c49246dc30dded25b39611649 /src/input_handler.cc
parent04d24b22bdb3093f8919e36ebdea31e49d013ed8 (diff)
Clear up info/menus and eventual prompts when reseting to normal mode
Fixes #697
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 63cee710..15b01a05 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -883,6 +883,7 @@ private:
}
void on_enabled() override { display(); }
+ void on_disabled() override { context().print_status({}); }
PromptCallback m_callback;
Completer m_completer;