Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function blankLine(line,startFrom)
- local ox,oy = term.getCursorPos()
- if not line then oy = line end
- if not startFrom then startFrom = ox end
- local w = term.getSize()
- local wx = w - startFrom + 1
- term.setCursorPos(startFrom,line)
- term.write(string.rep(" ",wx))
- term.setCursorPos(ox,oy)
- end
Advertisement
Add Comment
Please, Sign In to add comment