Skip to content

Commit

Permalink
Merge pull request #1985 from Tyriar/fix_demo_non_win
Browse files Browse the repository at this point in the history
Fix demo on non-Windows
  • Loading branch information
Tyriar committed Mar 30, 2019
2 parents 84d5963 + e182e3d commit 1283123
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 1283123

Please sign in to comment.