summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2016-12-04 23:27:04 +0000
committerMaxime Coste <mawww@kakoune.org>2016-12-04 23:27:04 +0000
commit9a986b8d47a8de44faf94feb32a2ba5788319729 (patch)
tree9a45e0067a70e02c8ab97ff3466db831ff889496 /src/input_handler.cc
parent4d538fb423c072b7ed9d100c206164a89ba885a9 (diff)
Hide eventual info box when returning to normal mode
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 6bc186a4..bc0e6c81 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -167,7 +167,10 @@ public:
m_enabled = true;
if (context().has_client())
+ {
context().client().check_if_buffer_needs_reloading();
+ context().client().info_hide();
+ }
m_fs_check_timer.set_next_date(Clock::now() + get_fs_check_timeout(context()));
m_idle_timer.set_next_date(Clock::now() + get_idle_timeout(context()));