Xterm.js: xterm-addon-attach syntax error in IE

Created on 23 Dec 2019  路  3Comments  路  Source: xtermjs/xterm.js


When trying to use the attach addon in IE11, it results in a plain "syntax error". This is likely due to a webpack or tsconfig issue since copying the code into my local project works as expected.

Other addons (such as fit) use ES5 whereas this uses ES6.

Details

  • Browser and browser version: IE11
  • OS version: Windows 7
  • xterm.js version: 4.3.0
  • attach version: 0.4.0

Steps to reproduce

  1. Open xterm.js with the attach addon loaded
  2. Inspect the console
areaddoattach typbug

All 3 comments

The tsconfig.json target is likely the problem as you indicated.

@jestapinski could you please verify with [email protected]? I don't have a Windows machine around atm.

Hi @Tyriar, just gave it a look. Looks great, thanks for the update!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

circuitry2 picture circuitry2  路  4Comments

Tyriar picture Tyriar  路  4Comments

johnpoth picture johnpoth  路  3Comments

kolbe picture kolbe  路  3Comments

goxr3plus picture goxr3plus  路  3Comments