Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.call("top","setTextScale",0.5)
- monitors = {"top"}
- if not normalCursorBlink then
- normalCursorBlink = term.setCursorBlink
- end
- term.setCursorBlink = function(input)
- normalCursorBlink(input)
- for i=1,#monitors do
- peripheral.call(monitors[i],"setCursorBlink",input)
- end
- return
- end
- if not normalBackgroundColor then
- normalBackgroundColor = term.setBackgroundColour
- end
- term.setBackgroundColor = function(input)
- normalBackgroundColor(input)
- for i=1,#monitors do
- peripheral.call(monitors[i],"setBackgroundColor",input)
- end
- return
- end
- term.setBackgroundColour = term.setBackgroundColor
- if not normalWrite then
- normalWrite = term.write
- end
- term.write = function(input)
- normalWrite(input)
- for i=1,#monitors do
- peripheral.call(monitors[i],"write",input)
- end
- return
- end
- if not normalsetCursorPos then
- normalsetCursorPos = term.setCursorPos
- end
- term.setCursorPos = function(input1, input2)
- normalsetCursorPos(input1,input2)
- for i=1,#monitors do
- peripheral.call(monitors[i],"setCursorPos",input1,input2)
- end
- return
- end
- if not normalClear then
- normalClear = term.clear
- end
- term.clear = function(input)
- normalClear()
- for i=1,#monitors do
- peripheral.call(monitors[i],"clear")
- end
- return
- end
- if not normalsetTextColor then
- normalsetTextColor = term.setTextColour
- end
- term.setTextColour = function(input)
- normalsetTextColor(input)
- for i=1,#monitors do
- peripheral.call(monitors[i],"setTextColor",input)
- end
- return
- end
- term.setTextColor = term.setTextColour
- if not normalClearLine then
- normalClearLine = term.clearLine
- end
- term.clearLine = function()
- normalClearLine()
- for i=1,#monitors do
- peripheral.call(monitors[i],"clearLine")
- end
- return
- end
- if not normalScroll then
- normalScroll = term.scroll
- end
- term.scroll = function(input)
- normalScroll(input)
- for i=1,#monitors do
- peripheral.call(monitors[i],"scroll",input)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement