xtermjs/xterm.js

Handling transparent BG color when used as FG

Open

#1898 opened on Jan 16, 2019

View on GitHub
 (20 comments) (3 reactions) (1 assignee)TypeScript (16,196 stars) (1,574 forks)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

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.

Contributor guide