question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Box drawing characters with escape sequence Esc ( 0 are broken since 3.5.0

See original GitHub issue

Since 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:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
astefanutticommented, Jul 12, 2018

@Tyriar thanks for the very quick reply and fix. I confirm it works!

1reaction
jerchcommented, Jul 12, 2018

Oh well was wondering about that while doing #1399, guess this means “yes”.

@Tyriar Thanks for fixing it. 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found