summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index ee3126be..0f6904dc 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1199,8 +1199,8 @@ void InputHandler::reset_normal_mode()
current_mode().on_disabled();
m_mode_stack.resize(1);
}
- current_mode().on_enabled();
kak_assert(dynamic_cast<InputModes::Normal*>(&current_mode()) != nullptr);
+ current_mode().on_enabled();
}
void InputHandler::insert(InsertMode mode)