Posted 07 January 2013 - 02:17 AM
Hello everyone! In my header making adventures, I have successfully rewritten getSize(), getCursorPos(), term.clear() and setCursorPos() to be compatible with my header.
However, I've struck into a problem. While I know and knew how all those functions work, I have no experience in term.scroll whatsoever. I have no idea what the code for it is, and dont know what to override and modify it with to make it work with a 2 line header. Ideas anyone? I checked through the file of term APi and there was nothing helping to be found :(/>
Also, as you might've guessed, I'm fairly advanced ar lua, so wont need explanations on everything, would probably be able to understand the code if you just provide me a working code snippet.
However, I've struck into a problem. While I know and knew how all those functions work, I have no experience in term.scroll whatsoever. I have no idea what the code for it is, and dont know what to override and modify it with to make it work with a 2 line header. Ideas anyone? I checked through the file of term APi and there was nothing helping to be found :(/>
Also, as you might've guessed, I'm fairly advanced ar lua, so wont need explanations on everything, would probably be able to understand the code if you just provide me a working code snippet.