makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.14k stars 68 forks source link

Preformatted text no longer highlighted #292

Closed tgeek77 closed 2 years ago

tgeek77 commented 2 years ago

In the changelog for 1.7.0., "Preformatted text is now light yellow by default" However, in the current version, preformatted text is no longer a different color. See attached screenshots. The first is v1.8.0 and the second is v1.9.2.

v1 8 0_preformatted v1 9 2_preformatted

makew0rld commented 2 years ago

Yes. Unfortunately this is a side effect of #181. To use the user's terminal colors, I had to stick to the base 16 colors, which didn't leave enough for preformatted text to have its own. I would just add your own entry in the [theme] section of your config, like:

preformatted_text = "#ffffaf"