I wanted to apply custom theme but it seems that it's not possible for this version. In my opinion it seems to be some kind of bug. What I did in code is:
#0FF (which is the cyan color - good)#F00 (which is supposed to turn into red but it's still green - bad)
Code:
const xterm = new Terminal({
cols: 80,
rows: 30,
theme: {
foreground: '#0FF',
green: '#F00'
}
})
xterm.open(xtermElem)
_( I have tried the same thing on just electron + xtermjs but still that didn't work. )_
That's likely brightGreen as it's bold. Or you can set drawBoldTextInBrightColors to false.
Most helpful comment
That's likely
brightGreenas it's bold. Or you can setdrawBoldTextInBrightColorsto false.