Ask coding questions

← Back to all posts
how can I change the color of the right output pane?
miracle173 (4)

Hi
Does somebody know how can I change the color of the right output pane? At the moment it is black, the error messages in the console are red. This combination I almost cannot read. The output in the shell window is printed blues. This is even harder to read for me.
So is there a way to change the background color and/or the color of the output text?
regards miracle 173

Comments
hotnewtop
Coder100 (17133)

Sorry, the terminal background color cannot be changed at the moment, it's a really bad accessibility issue.

Please, report to feedback: https://replit.com/feedback.

miracle173 (4)

@Coder100 Thank you, I changed the color settings of my screen and found a setting that is good enough that I can read everything easily.

Wumi4 (486)

Um... I need some questions:

  • What do you specify this shell for? Your Window's cmd or the Repl.it bash shell?
  • Can you show me a screenshot of it?
miracle173 (4)

@Wumi4 HI thank you for your post. I was talking about the repl bash. And I found out it is the PS1 prompt. But I was able to adjust my screen and now this prompt can be easily read.

d1ddle (0)

class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'

EG:
print("\033[91mUh oh.")
will print Uh oh in red.

source: https://stackoverflow.com/questions/287871/how-to-print-colored-text-to-the-terminal

miracle173 (4)

@d1ddle Thanks for you post. But I do not want to print colored text to the screen but I want to change the color of the error messages that the repl IDE prints when I have a syntax error. But I was able to adjust my screen and now these messages can be easily read.