From 1ebea85e6f07aeb6a8287b8043480f56f0e58edb Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 29 May 2019 23:12:04 +1000 Subject: Do not merge selections on backspace in insert mode Fixes #2861 --- src/input_handler.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index 58b8d0d2..750ec1d4 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1235,6 +1235,8 @@ public: if (not main_char.empty()) context().hooks().run_hook(Hook::InsertDelete, main_char, context()); + + context().selections_write_only().update(false); } else if (key == Key::Delete) { -- cgit v1.2.3