This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
OnyxFox's profile picture

Terminal Glasses Text Size

Started by OnyxFox, 11 August 2015 - 02:14 PM
OnyxFox #1
Posted 11 August 2015 - 04:14 PM
I've tried searching for it on Google, but I can't seem to find any commands for text size. I also don't know if I'm seeing all of the documentation for the Terminal Bridge with "openp/docs" because it fills the entire screen. Any way to check that?
SquidDev #2
Posted 11 August 2015 - 04:58 PM
It took a bit of digging but I think this works:


local p = peripheral.wrap("back")
local text  =p.addText(0, 0, "Foo bar") -- Create the text object. I presume you have this already
text.setScale(0.1) -- Set the scale to be 0.1 what it would be normally
p.sync()

Sources - just if you are interested - bits are kinda hard to follow though.I haven't actually tested this, so please do tell me if this is totally wrong.
Edited on 11 August 2015 - 02:58 PM
OnyxFox #3
Posted 11 August 2015 - 09:16 PM
It worked. Thank you.