about summary refs log tree commit diff stats
path: root/help.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-02-08 02:23:56 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-02-08 02:37:12 -0800
commit4e9298dda1fb67527d5fdd3172217b803b27e652 (patch)
treef14402956377fd275e2b9033bb88ad314d8c3013 /help.lua
parent1dbd734abb757c924d2f72b5eaa6663712962035 (diff)
downloadlines.love-4e9298dda1fb67527d5fdd3172217b803b27e652.tar.gz
bugfix in cursor positioning
scenario:
- create a long wrapping line
- tap past end of first screen line

Before this commit the cursor would be positioned not quite at the end
of the screen line but one character before. In effect there was no way
to position cursor at end of a wrapping line.

I'm not sure how this bug has lasted so long. It was introduced in
commit 8d3adfa36 back in June 2022, which was itself billed as a bugfix
for "clicking past end of screen line". But when I go back to it this
bug exists even back then. How did I miss it?! I wrote a test back then
-- and the test was wrong, has always been wrong.
Diffstat (limited to 'help.lua')
0 files changed, 0 insertions, 0 deletions