Posted 06 December 2015 - 06:40 PM
I have a problem with writing text to an advanced monitor:
I wanted to have my program write some Text to the monitor, but whenever the textscale is changed by the program, the monitor will clear instantly and only show the text that was written after changing the textscale.
I wrote this little program to test if its a bug or a problem with my other program:
I got the following picture after running this program.
[attachment=2444:2015-12-06_19.21.38.png]
I'm playing FTB Infinity modpack (thats the reason for the minimap), but the other mods shouldnt conflict in any way with ComputerCraft.
If its a Bug it would be nice if it could be fixed soon, if its not a bug but my fault I would like to know what I did wrong and how to fix it.
I wanted to have my program write some Text to the monitor, but whenever the textscale is changed by the program, the monitor will clear instantly and only show the text that was written after changing the textscale.
I wrote this little program to test if its a bug or a problem with my other program:
mon = peripheral.wrap("top")
mon.clear()
mon.setTextColor(colors.white)
mon.setTextScale(1)
mon.write("hello")
mon.setTextScale(2)
mon.setCursorPos(1,3)
mon.write("this is a Test program")
I got the following picture after running this program.
[attachment=2444:2015-12-06_19.21.38.png]
I'm playing FTB Infinity modpack (thats the reason for the minimap), but the other mods shouldnt conflict in any way with ComputerCraft.
If its a Bug it would be nice if it could be fixed soon, if its not a bug but my fault I would like to know what I did wrong and how to fix it.