Posted 26 November 2013 - 09:30 AM
Is there any way to limit the length of the input field or automatically transfer cursor to the next line when approaching the edge of the screen in the function "read()"?
Oh, thanx, I try rewrite this function :)/>Not in standard read() function. You can however write your own version of read function that does exactly what you need. If you take a look into bios.lua file you can find definition of standard read that you can edit if you don't want to write it from scratch.
If you are feeling exceptionally lazy I do have a working implementation. Its a rewrite I performed of the default `read` but more efficient, and more capabilities, best of all without breaking default usages. You can find more information about it in my programs thread under code snippets.Oh, thanx, I try rewrite this function :)/>
I will write here when I'll get the desired result :3
It's interesting, I use some things in my function, thanx :)/>If you are feeling exceptionally lazy I do have a working implementation. Its a rewrite I performed of the default `read` but more efficient, and more capabilities, best of all without breaking default usages. You can find more information about it in my programs thread under code snippets.