diff --git a/src/input_handler.cc b/src/input_handler.cc index b0c6b8b4..08412a02 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -286,7 +286,7 @@ public: to_next_word_end(m_cursor_pos, m_line); else if (key == ctrlalt('e')) to_next_word_end(m_cursor_pos, m_line); - else + else if (key.modifiers == Key::Modifiers::None) { m_line = m_line.substr(0, m_cursor_pos) + codepoint_to_str(key.key) + m_line.substr(m_cursor_pos);