Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function term.write(msg)
- x,y = term.getCursorPos()
- if y == 1 then
- if x + string.len(msg) <= w+1 then
- --line = string.sub(line,1,x-1) .. msg .. string.sub(line,x+string.len(msg),-1)
- print("NL.")
- print(line)
- end
- end
- return oTerm.write(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment