Skip to content

Commit

Permalink
Merge pull request #1034 from Tyriar/1033_ie11_support
Browse files Browse the repository at this point in the history
Add support back for IE11
  • Loading branch information
Tyriar authored Oct 6, 2017
2 parents 5bf8193 + be8ddb1 commit b06eb44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Since xterm.js is typically implemented as a developer tool, only modern browser
- Edge latest
- Firefox latest
- Safari latest
- IE11

Xterm.js works seamlessly in Electron apps and may even work on earlier versions of the browsers but these are the browsers we strive to keep working.

Expand Down
2 changes: 1 addition & 1 deletion demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function createTerminal() {
term.fit();

// fit is called within a setTimeout, cols and rows need this.
setTimeout(() => {
setTimeout(function () {
colsElement.value = term.cols;
rowsElement.value = term.rows;

Expand Down
2 changes: 1 addition & 1 deletion src/addons/fit/fit.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
exports.fit = function (term) {
// Wrap fit in a setTimeout as charMeasure needs time to get initialized
// after calling Terminal.open
setTimeout(() => {
setTimeout(function () {
var geometry = exports.proposeGeometry(term);

if (geometry) {
Expand Down

0 comments on commit b06eb44

Please sign in to comment.