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.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 4cc6d5ee..975e457b 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1016,6 +1016,7 @@ private:
if (m_insert_mode == InsertMode::Append and sel.cursor().column > 0)
sel.cursor() = context().buffer().char_prev(sel.cursor());
}
+ selections.avoid_eol();
if (m_disable_hooks)
context().user_hooks_support().enable();