Posted 23 June 2016 - 12:31 PM
i have a program that periodicly opens this:
local todofile = fs.open("disk/todo.txt", "r")
local todo = peripheral.wrap("monitor_9")
todo.setCursorPos(1,2)
local towrite = todofile.readAll()
todofile.close()
todo.write(towrite)
in multishell and i cant get it to close its tab once it is done. there ends up being many of them just saying press any key to end/close
how would i do this?
local todofile = fs.open("disk/todo.txt", "r")
local todo = peripheral.wrap("monitor_9")
todo.setCursorPos(1,2)
local towrite = todofile.readAll()
todofile.close()
todo.write(towrite)
in multishell and i cant get it to close its tab once it is done. there ends up being many of them just saying press any key to end/close
how would i do this?