xtermjs/xterm.js

Handling transparent BG color when used as FG

Ouverte

#1 898 ouverte le 16 janv. 2019

 (20 commentaires) (3 réactions) (1 personne assignée)TypeScript (1 574 forks)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

Métriques du dépôt

Stars
 (16 196 étoiles)
Métriques de merge PR
 (Merge moyen 2j 10h) (16 PRs mergées en 30 j)

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.

Guide contributeur