Mac, SDK v1.9.3.
Hitting a beachball in the simulator, reduced it to this minimal testcase:
playdate.graphics.drawTextInRect("Hello, World", playdate.geometry.rect.new(0, 0, 10, 200))
I suspect it has to do with text wrapping.
Mac, SDK v1.9.3.
Hitting a beachball in the simulator, reduced it to this minimal testcase:
playdate.graphics.drawTextInRect("Hello, World", playdate.geometry.rect.new(0, 0, 10, 200))
I suspect it has to do with text wrapping.
Good find. I think what's happening is that when the rect you pass is too narrow to contain the first wrapped character (W in your example), it keeps trying to wrap it to the next line forever. Increasing the width or replacing the W with a narrower glyph avoids the hang.
Thanks, we'll get this fixed!
This is fixed in SDK 1.10.0, available now. Thanks for the report!