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

Multiple default CC programs do not work well with different background colors

Started by Geforce Fan, 12 March 2015 - 08:05 PM
Geforce Fan #1
Posted 12 March 2015 - 09:05 PM
Programs like worm, adventure, and edit don't work well with different background colors.
1. If I'm running a custom terminal with a white background and black text, when I leave edit, it goes to black text. A get background color function would solve this nicely.
2. If I have a red background, and start worm or adventure, they don't set the background color to black before starting, so the background will be red.


1 applies to: worm, redirection, paint, edit, chat

2 applies to: worm, adventure
Edited on 12 March 2015 - 08:05 PM
Bomb Bloke #2
Posted 13 March 2015 - 12:09 AM
If a certain script wants a certain background colour, then it should set it.

This means that while worm etc should indeed be specifying black if that's what they want to use, the "custom terminal" you mentioned should in turn be specifying white - that's its job, not the job of the scripts it's calling, and a "get" function isn't needed in order for it to do that.