Closed herolyle closed 4 years ago
code
// Remove the background color from the image so characters may overlap clearColor(charAtlasImageData, config.colors.background);
I set theme configure like
let defaultTheme = { foreground: "#c2c2c2", background: "#222222", cursor: "#ffffff", selection: "rgba(255, 255, 255, 0.3)", black: "#000000", brightBlack: "#808080", red: "#ce2f2b", brightRed: "#f44a47", green: "#00b976", brightGreen: "#05d289", yellow: "#e0d500", brightYellow: "#f4f628", magenta: "#bd37bc", brightMagenta: "#d86cd8", blue: "#1d6fca", brightBlue: "#358bed", cyan: "#00a8cf", brightCyan: "#19b8dd", white: "#e5e5e5", brightWhite: "#ffffff" };
xterm.js version: xterm@3.8.0
Plz try to repro the issue with the master version. 3.8 is outdated.
Additionally that is using the canvas renderer which we want to get rid of eventually, the webgl addon is available for fast hardware acceleration or the dom renderer for slower but best compatibility.
Details
Steps to reproduce
In one page ,have many tabs/terminal ,when I open new tab need long time 。。
execute many times clearColor FunctionclearColor @ CharAtlasGenerator.js:73