<!doctype html>
<html>
<head>
<link rel="stylesheet" href="node_modules/xterm/dist/xterm.css" />
<script src="node_modules/xterm/dist/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
<script>
var options = {
rows: 30,
cols: 80,
fontFamily: '"Courier New", "DejaVu Sans Mono", "Everson Mono", FreeMono, "Andale Mono", monospace',
fontSize: 12,
convertEol: true
};
var term = new Terminal(options);
term.open(document.getElementById('terminal'));
term.write(' ╔═════════════════════════════════════════════════════════╕\n');
term.write(' ║ │\n');
term.write(' ║ ╔═══════════════╦════════╤════════╗ │\n');
term.write(' ║ ║ ║ │ ║ │\n');
term.write(' ║ ║ ║ │ ║ │\n');
</script>
</body>
</html>
Details
Steps to reproduce
index.html:
There are several related issues but it does not help:
#475
#992