From 322ae131a18a027a345fbabf62b566f927f61394 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 3 Jun 2019 12:28:44 -0700 Subject: [PATCH] Fix NPE in open Fixes #2174 --- src/Terminal.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Terminal.ts b/src/Terminal.ts index ff28ab02f..67728cfbd 100644 --- a/src/Terminal.ts +++ b/src/Terminal.ts @@ -750,7 +750,6 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II this.element.appendChild(fragment); this._theme = this.options.theme; - this.options.theme = null; this._colorManager = new ColorManager(document, this.options.allowTransparency); this._colorManager.setTheme(this._theme);