You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running in a terminal configured with foreground color other than black, the current handing of colors is incorrect. The text color is set to black at the end of the script, even if that was not the original text color. On a black background, this makes the text invisible!
It looks like we need to use tput sgr0 to reset the color, instead of tput setaf 0, which sets it explicitly to black.
The text was updated successfully, but these errors were encountered:
When running in a terminal configured with foreground color other than black, the current handing of colors is incorrect. The text color is set to black at the end of the script, even if that was not the original text color. On a black background, this makes the text invisible!
It looks like we need to use
tput sgr0
to reset the color, instead oftput setaf 0
, which sets it explicitly to black.The text was updated successfully, but these errors were encountered: