Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support back for IE11 #1034

Merged
merged 1 commit into from
Oct 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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