simplemachines-it / mizar32

Automatically exported from code.google.com/p/mizar32
0 stars 0 forks source link

eLua console inserts bogus newlines every 127 characters #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At the console type:

s=[[1234567890123456789012345678901234567890123456789012345678901234567890123456
789012345678901234567890123456789012345678901234567890]]
print(s)

you get

12345678901234567890123456789012345678901234567890123456789012345678901234567789
012345678901234567890123456789012345677890123
4567890

which is 123 characters of the string plus four for s=[[

Original issue reported on code.google.com by martinwguy@gmail.com on 13 Feb 2012 at 2:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is due to the setting of LUA_MAXINPUT, which has been reduced from 512 to 
128 in eLua to save stack space.  Could be lifted for Mizar32 which has lots of 
RAM.

Original comment by martinwguy@gmail.com on 26 Feb 2012 at 4:10