xterm.js icon indicating copy to clipboard operation
xterm.js copied to clipboard

How to Set Font Color?

Open Williamlook opened this issue 8 years ago • 1 comments

No API for setting fonts was seen

Williamlook avatar Dec 04 '18 08:12 Williamlook

Terminal.setOption('theme', { foreground: '#F00' });

https://github.com/xtermjs/xterm.js/blob/6e45d022acd70ea7c80f888fcff9a4c518e00a3b/typings/xterm.d.ts#L711

Tyriar avatar Dec 04 '18 16:12 Tyriar