Merge pull request #1034 from Tyriar/1033_ie11_support

Add support back for IE11
This commit is contained in:
Daniel Imms
2017-10-06 09:27:15 -07:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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.
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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) {