about summary refs log tree commit diff stats
path: root/main_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-30 18:00:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-30 18:14:48 -0700
commit510b0d1dc378f87517e17bfe1961fbefeb58d033 (patch)
treebfc1d21c01eb8579c2d2ce262c1c47f16684fc56 /main_tests.lua
parent98fa46bf990352a3451a6a82489dcc61caf6c6a5 (diff)
downloadlines.love-510b0d1dc378f87517e17bfe1961fbefeb58d033.tar.gz
bugfix: lines that aren't drawn from the start
I can't believe I didn't catch this until now. All I had to do is open
MobyDick.markdown from https://www.hogbaysoftware.com/posts/moby-dick-workout,
press page-down and click on the top screen line (or any screen line
containing the same line as the top screen line). Easy to catch with any
file containing lots of overly long lines, as happens in particular at
the start of Moby Dick.

I _had_ seen this problem before, but it seemed to disappear after
unrelated changes, and I convinced myself I'd fixed it as a side-effect.
The bug just failed to manifest if the top line happened to start at the
top of the screen. Scroll down a few pages in Moby Dick and the dialogue
starts and line length drops precipitously.
Diffstat (limited to 'main_tests.lua')
0 files changed, 0 insertions, 0 deletions