Merge pull request #1985 from Tyriar/fix_demo_non_win
Fix demo on non-Windows
This commit is contained in:
+3
-1
@@ -102,7 +102,9 @@ function createTerminal(): void {
|
|||||||
socketURL = protocol + location.hostname + ((location.port) ? (':' + location.port) : '') + '/terminals/';
|
socketURL = protocol + location.hostname + ((location.port) ? (':' + location.port) : '') + '/terminals/';
|
||||||
|
|
||||||
term.open(terminalContainer);
|
term.open(terminalContainer);
|
||||||
term.winptyCompatInit();
|
if (isWindows) {
|
||||||
|
term.winptyCompatInit();
|
||||||
|
}
|
||||||
term.webLinksInit();
|
term.webLinksInit();
|
||||||
term.fit();
|
term.fit();
|
||||||
term.focus();
|
term.focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user