summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-12-19 13:45:38 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-12-19 13:58:33 +0000
commit116ea7364ab70703cea4a6fc2ce34c42b99fc13e (patch)
treee06990a9bb1a09f34d66d8ffbad00a859de1b8cc /src/input_handler.cc
parentc454cf137971fda09c0c0a3af6acea952efc2f3a (diff)
Restore some special behaviours, I missed them in interactive 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();