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.

貢獻者指南