Anyway, my problem is that I have written a little program that allows me to type in anything and it will display on a monitor. The problem I am having is that when I write longer messages, I can't get it to go down to the next line, but it will just spam it of the screen and not show up.
Another question that I have is how do I make it so that I can simply type something like "monitor <message>" instead of having it ask for my input after I type the program name?
My program:
monitor = peripheral.wrap("left")
print("Message?")
term.setCursorPos(1,3)
input = read()
monitor.clear()
monitor.setCursorPos(1,1)
monitor.setTextScale(2,5)
monitor.write(input)
term.clear()
term.setCursorPos(1,1)
Thanks for the advice ahead!












