xtermjs/xterm.js

Handling transparent BG color when used as FG

Offen

#1.898 geöffnet am 16.01.2019

 (20 Kommentare) (3 Reaktionen) (1 zugewiesene Person)TypeScript (1.574 Forks)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

Repository-Metriken

Stars
 (16.196 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 10h) (16 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide