I understand that it is not possible to tell asciimatics to use the terminal's current color scheme (because asciimatics
has no way of querying the terminal). But I would like at least to have some control and be able to select the color scheme myself.
I can not find anywhere in the documentation how to change the default foreground / background color.
I am using the standard demo:
from asciimatics.screen import Screen
from asciimatics.scene import Scene
from asciimatics.effects import Cycle, Stars
from asciimatics.renderers import FigletText
def demo(screen):
effects = [
Cycle(
screen,
FigletText("ASCIIMATICS", font='big'),
screen.height // 2 - 8),
Cycle(
screen,
FigletText("ROCKS!", font='big'),
screen.height // 2 + 3),
Stars(screen, (screen.width + screen.height) // 2)
]
screen.play([Scene(effects, 500)])
Screen.wrapper(demo)
I want the background to be yellow. Not the background of the text elements, but the whole background (the Screen
's background I would say)
How do I do that?