Skip to content

Commit

Permalink
Fix demo on non-Windows
Browse files Browse the repository at this point in the history
Broke in #1978
  • Loading branch information
Tyriar committed Mar 30, 2019
1 parent 84d5963 commit e182e3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e182e3d

Please sign in to comment.