I'm having a problem with background colors. I notice that when I do foreground colors, they are always persistent until you reset or change it. But I'm not getting the same results from background colors.
Here's an example of my background color value:
Code:
bBlack="\033[;40m"
bNC="\033[0;49m" #resets
If I set the background to a color, then do a clear, it clears out the screen with said color. But as soon as I start outputting text or commands from the script, it goes back to the default background. Is there a way to set the color to black and have it persistent throughout the entire script?