From 3705d8159dd212509983379ea98a83d44c3f59f5 Mon Sep 17 00:00:00 2001 From: Felipe Gasper Date: Mon, 11 Jun 2018 16:49:09 -0400 Subject: [PATCH 1/2] Add cPanel & WHM to the Real-World Uses list. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 30717086..1cfe2679 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ computational environment for Jupyter, supporting interactive data science and s - [**Diag**](https://diag.ai): A better way to troubleshoot problems faster. Capture, share and reapply troubleshooting knowledge so you can focus on solving problems that matter. - [**GoTTY**](https://github.com/yudai/gotty): A simple command line tool that shares your terminal as a web application based on xterm.js. - [**genact**](https://github.com/svenstaro/genact): A nonsense activity generator. - +- [**cPanel & WHM**](https://cpanel.com): The hosting platform of choice. Do you use xterm.js in your application as well? Please [open a Pull Request](https://github.com/sourcelair/xterm.js/pulls) to include it here. We would love to have it in our list. From ee935cc68c5628e3293638f3e46a47ab2e7726b3 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 12 Jun 2018 17:27:36 +0200 Subject: [PATCH 2/2] Add a null check to charatlas beginFrame call Fixes #1511 --- src/renderer/TextRenderLayer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/TextRenderLayer.ts b/src/renderer/TextRenderLayer.ts index d6f96936..f48c2561 100644 --- a/src/renderer/TextRenderLayer.ts +++ b/src/renderer/TextRenderLayer.ts @@ -208,7 +208,9 @@ export class TextRenderLayer extends BaseRenderLayer { return; } - this._charAtlas.beginFrame(); + if (this._charAtlas) { + this._charAtlas.beginFrame(); + } this.clearCells(0, firstRow, terminal.cols, lastRow - firstRow + 1); this._drawBackground(terminal, firstRow, lastRow);