I think they both behave the same way - maybe what you're seeing is that when it tries to figure out the font size it looks at the width of the text string supplied - and if you send:
1
2
3
4
5
6
7
then the width is actually very small. I am a bit surprised it didn't crop the text lines - and actually looking at the code it only does this if the string width is greater than a certain amount (I guess it shouldn't).
I guess the question is: has this ever been a problem in real life, or is it just when using the debug tool with that particular set of text?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think they both behave the same way - maybe what you're seeing is that when it tries to figure out the font size it looks at the width of the text string supplied - and if you send:
then the width is actually very small. I am a bit surprised it didn't crop the text lines - and actually looking at the code it only does this if the string width is greater than a certain amount (I guess it shouldn't).
I guess the question is: has this ever been a problem in real life, or is it just when using the debug tool with that particular set of text?