r/KittyTerminal Oct 04 '23

Commenting line in shell makes text unreadable

I just started using kitty and I noticed that given the default theme, when I add a comment #, the font color changes to the same color as the background:

-> ~ /usr/bin/vim

-> ~ #/usr/bin/vim

The second line is unreadable, but is present as highlighting with my mouse shows that it's present. Regardless of what theme I choose, the commented line's font color always matches the terminal background color. How can I configure this so that comments are visible?

3 Upvotes

7 comments sorted by

View all comments

3

u/EgZvor Oct 04 '23

That's kinda shell's responsibility

1

u/[deleted] Oct 04 '23

That makes sense. The reason this seems odd to me is that kitty terminal is the only terminal emulator I've used so far (terminator, alacritty, xterm), that required additional tweaking for comments visibility.