xtermjs/xterm.js

Handling transparent BG color when used as FG

Aberta

#1.898 aberto em 16 de jan. de 2019

 (20 comentários) (3 reações) (1 responsável)TypeScript (1.574 forks)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

Métricas do repositório

Stars
 (16.196 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 10h) (16 fundiu PRs em 30d)

Description

Nano displays its shortcuts with FG/BG colors reversed: image

However, when theme BG is transparent, following happens: image

The solution could be to have a separate flag that will render characters with no background as if background were transparent instead of theme.backgroundColor, but will still use the actual color for inverted elements.

Guia do colaborador