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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index cd048482..407324eb 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -914,8 +914,8 @@ InputMode& InputMode::reset_normal_mode()
}
-InputHandler::InputHandler(UserInterface& ui)
- : m_context(*this, ui), m_mode(new InputModes::Normal(*this))
+InputHandler::InputHandler(std::unique_ptr<UserInterface>&& ui, Editor& editor, String name)
+ : m_ui(std::move(ui)), m_context(*this, editor), m_mode(new InputModes::Normal(*this)), m_name(name)
{
}