lxsang / PTerm

MIT License
34 stars 8 forks source link

Added support for using distinct background colors for SGR 47 and SGR 49, and changed XTermTheme to match xterm’s colors #25

Closed Rinzwind closed 2 years ago

Rinzwind commented 2 years ago

See the message of commit fb313da4abf5e49d for a description of the changes.

Screenshots of the XTermTheme colors before and after the changes, as well as of xterm:

Colors Old XTermTheme Light Colors New XTermTheme Light Colors XTerm

The function colors used on the screenshots is defined as:

function colors
        for b in {0..7}; do for f in {0..7}; do printf "\033[3${f};4${b}m \342\227\217 \033[m"; done; printf '\n'; done