I use KDE. With it set to the dark theme, the script console window uses a black font on a very dark grey background. Is there some way to tell it to use a font colour appropriate for a dark theme?
You may just need to alter the theme, or the color palette used.
How do I adjust the colours Scribus uses in its python console?
I should have bee a little more clear, This would be a os level setting for the theme or colors used.
There may be a way to do this via scripting, but you may need to look at the colors the os is using. Not sure if those are available for python to access.
You can set some of the colors in the File > Preferences, in the Scripter section...