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

kolbe picture kolbe  ·  3Comments

Mlocik97-issues picture Mlocik97-issues  ·  3Comments

Tyriar picture Tyriar  ·  4Comments

jerch picture jerch  ·  3Comments

7PH picture 7PH  ·  4Comments