Closed ropg closed 4 months ago
Tnx! There's actually a bit more work to be done: printing too-long strings shouldn't matter (except for size of logBuffer, working on that too) but it confuses the scroll somehow. Am on it.
Thanks for all your contributions, much appreciated!
When logBuffer has logBufferMaxLines, the drawing needs to start shifted up by displayHeight % lineHeight so that the first line drops off a bit, and not the last. Now printing to display really just works.
(I moved the
length++
and removed theelse
because both sides of the condition started with it.)