ipython

ipython automplete options font and background colors with not enough contrast


For some reason the autocomplete menu on ipython shows options with pinkish font and off-white color, what makes it very hard to read.

Is there any reason why those colors are being chosen? Instead of the more readable ones

What is the preferred way to change the colors to make them more readable?

ipython autocomplete options highlight


Solution

  • The best solution so far for this problem is to deflect the decision to the current terminal emulator.

    For instance, Kitty has the text_fg_override_threshold that automatically detects if there is not enough contrast between background and foreground and changes it automatically

    That's what it looks like with the setting set to 1

    ipython with enough contrast

    Other alternatives: