R terminal inverted color issue

Hi All,

Could someone help with an R terminal inverted color issue?
I met a similar problem as stated in this link:

The problem is not solved.
Could someone help?

Thank you!
Yam