class FrameBuffer has a clear method for clearing the screen. If you do not pass an explicit color, then it defaults to Color.black. This is confusing it the developer has configured the background color to any other color than black.
In addition, the default should be white as that is what the default text and line rendering uses if backgroundColor and foregroundColor are not set.
From the codelab in Aalborg:
class
FrameBuffer
has aclear
method for clearing the screen. If you do not pass an explicit color, then it defaults toColor.black
. This is confusing it the developer has configured the background color to any other color than black.In addition, the default should be white as that is what the default text and line rendering uses if backgroundColor and foregroundColor are not set.