xtermjs/xterm.js

Handling transparent BG color when used as FG

Aperta

#1898 aperta il 16 gen 2019

 (20 commenti) (3 reazioni) (1 assegnatario)TypeScript (1574 fork)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

Metriche repository

Star
 (16.196 stelle)
Metriche merge PR
 (Merge medio 2g 10h) (16 PR mergiate in 30 g)

Descrizione

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.

Guida contributor