From 4a1f24139c9d11976ef3f6814a0fed2057c3db25 Mon Sep 17 00:00:00 2001 From: Neko Box Coder Date: Wed, 14 Aug 2024 19:36:12 +0100 Subject: [PATCH] Adding missing deselect when calling RemoveAllMultiCursors This adds missing deselect calls that were present previously for RemoveAllMultiCursors before PR #3352 --- internal/action/command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/action/command.go b/internal/action/command.go index 59e89e49c2..f88660daac 100644 --- a/internal/action/command.go +++ b/internal/action/command.go @@ -761,6 +761,7 @@ func (h *BufPane) GotoCmd(args []string) { col = util.Clamp(col-1, 0, util.CharacterCount(h.Buf.LineBytes(line))) h.RemoveAllMultiCursors() + h.Cursor.Deselect(true) h.GotoLoc(buffer.Loc{col, line}) } @@ -779,6 +780,7 @@ func (h *BufPane) JumpCmd(args []string) { col = util.Clamp(col-1, 0, util.CharacterCount(h.Buf.LineBytes(line))) h.RemoveAllMultiCursors() + h.Cursor.Deselect(true) h.GotoLoc(buffer.Loc{col, line}) }