xtermjs/xterm.js

Handling transparent BG color when used as FG

开放

#1,898 创建于 2019年1月16日

 (20 条评论) (3 个反应) (1 位负责人)TypeScript (1,574 个派生)batch import
area/addon/webglarea/renderer-domgood first issuehelp wantedtype/bug

仓库指标

星标
 (16,196 个星标)
PR 合并指标
 (平均合并 2天 10小时) (30 天内合并 16 个 PR)

描述

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.

贡献者指南