Box drawing characters with escape sequence Esc ( 0 are broken since 3.5.0
See original GitHub issueSince Xterm.js version 3.5.0, box drawing characters using the escape sequence Esc ( 0
, like \x1b(0\x6A\x1b(B
, do not render correctly, while it was working with previous versions.
See https://en.wikipedia.org/wiki/Box-drawing_character#Unix,_CP/M,_BBS
Details
- Browser and browser version: Chrome
- OS version: Mac OS X
- xterm.js version: 3.5.0
Steps to reproduce
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@3.5.0/dist/xterm.css" />
<script src="https://cdn.jsdelivr.net/npm/xterm@3.5.0/dist/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
<script>
var term = new Terminal();
term.open(document.getElementById('terminal'));
term.write('Test \x1b(0\x6A\x1b(B\n')
</script>
</body>
</html>
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
view file containing DOS text (box-drawing characters, CRLF ...
Remember, the \\033 is ESC. Look familiar? A lot of them only set the background, and some of the file is spaces --...
Read more >Box-drawing character - Wikipedia
Box -drawing characters, also known as line-drawing characters, are a form of semigraphics ... The escape sequence Esc ( 0 switched the codes...
Read more >Changelog - QCAD
QCAD Professional: File > Open: Import Shift-JIS encoded DXF files from JW_Cad (JWW); Import SHP (ESRI Shapefile) files. Draw > Trace Bitmap:.
Read more >Bug listing with status RESOLVED with resolution TEST ...
Bug:233 - "Emacs segfaults when merged through the sandbox." status:RESOLVED resolution:TEST-REQUEST severity:critical · Bug:3888 - "yenta_socket module not ...
Read more >A look at terminal emulators, part 1 - LWN.net
mlterm, 3.5.0, 3.7.0, 3.8.5, uses VTE, "Multi-lingual terminal" ... Something is happening here that makes the character display as a box: only by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Tyriar thanks for the very quick reply and fix. I confirm it works!
Oh well was wondering about that while doing #1399, guess this means “yes”.
@Tyriar Thanks for fixing it. 👍