9 lines
375 B
JavaScript
9 lines
375 B
JavaScript
const fs = require('fs');
|
|
let code = fs.readFileSync('src/styles/main.css', 'utf8');
|
|
code += `
|
|
|
|
/* Fix for native scrolling: .xterm-screen cannot be scrolled natively because it is not the scroll container.
|
|
To allow native scrolling, we would have to make .xterm-screen point-events: none, BUT we need selection on it. */
|
|
`;
|
|
fs.writeFileSync('src/styles/main.css', code);
|