cursor: Remove selection reduction by one character on Deselect()

This commit is contained in:
Jöran Karl
2024-11-30 15:25:14 +01:00
parent aaf45a871f
commit 50639015d7
2 changed files with 1 additions and 2 deletions

View File

@@ -293,7 +293,6 @@ func (h *BufPane) CursorLeft() bool {
func (h *BufPane) CursorRight() bool {
if h.Cursor.HasSelection() {
h.Cursor.Deselect(false)
h.Cursor.Right()
} else {
tabstospaces := h.Buf.Settings["tabstospaces"].(bool)
tabmovement := h.Buf.Settings["tabmovement"].(bool)