jkotlinski / durexforth

Modern C64 Forth
Other
230 stars 28 forks source link

`v`: can't cursor past the end of a line #552

Closed ekipan closed 1 year ago

ekipan commented 1 year ago

Try opening a file in v then press A [left] [right]. In v4 the cursor moves back onto the end, in v5-preview the cursor stops at the character before the newline.

Originally posted by @ekipan in https://github.com/jkotlinski/durexforth/discussions/548#discussioncomment-5731443

One bad effect is that you can't erase the last character in insert mode. You have to press [<-] l x.

jkotlinski commented 1 year ago

So the behavior changed between f255fef64b78e1a6d9b06eb6ac53dee181498332 and 09762542c2ed33950a2e9c786a07e36126a0d3a6. I am not sure how it used to work.

ekipan commented 1 year ago

Just to make it easier to see the range in github: f255fef64b78e1a6d9b06eb6ac53dee181498332...09762542c2ed33950a2e9c786a07e36126a0d3a6. Thanks for the fix, I'll give it a try and report again if I find any more issues.