ved icon indicating copy to clipboard operation
ved copied to clipboard

fix invalid cursor states and visual selection issues

Open mheister opened this issue 2 years ago • 1 comments

I found that pressing dd on the last line twice would make the program crash and made changes to prevent the cursor staying in invalid positions after dd and deletion of a visual selection. As I found it hard to test these things separately, this also changes the behavior of visual selections such that selections with starting line below end line can be yanked/deleted and prevents the internal end position of the selection to go negative.

mheister avatar Feb 10 '23 23:02 mheister

@medvednikov what do you think?

spytheman avatar Jan 13 '24 17:01 spytheman