Do not avoid eol on escape

This commit is contained in:
Maxime Coste 2014-12-11 19:36:20 +00:00
parent 7a10029c4f
commit 2c4ed3a78c

View File

@ -1013,7 +1013,6 @@ private:
if (m_insert_mode == InsertMode::Append and sel.cursor().column > 0) if (m_insert_mode == InsertMode::Append and sel.cursor().column > 0)
sel.cursor() = context().buffer().char_prev(sel.cursor()); sel.cursor() = context().buffer().char_prev(sel.cursor());
} }
selections.avoid_eol();
if (m_disable_hooks) if (m_disable_hooks)
context().user_hooks_support().enable(); context().user_hooks_support().enable();