Skip to content

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

@astefanutti

Description

@astefanutti

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/[email protected]/dist/xterm.css" />
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions