Fix demo on non-Windows

Broke in #1978
This commit is contained in:
Daniel Imms
2019-03-30 14:52:48 -07:00
parent 84d5963e7e
commit e182e3d4e4
+3 -1
View File
@@ -102,7 +102,9 @@ function createTerminal(): void {
socketURL = protocol + location.hostname + ((location.port) ? (':' + location.port) : '') + '/terminals/';
term.open(terminalContainer);
term.winptyCompatInit();
if (isWindows) {
term.winptyCompatInit();
}
term.webLinksInit();
term.fit();
term.focus();