mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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/';
|
||||
|
||||
term.open(terminalContainer);
|
||||
term.winptyCompatInit();
|
||||
if (isWindows) {
|
||||
term.winptyCompatInit();
|
||||
}
|
||||
term.webLinksInit();
|
||||
term.fit();
|
||||
term.focus();
|
||||
|
||||
Reference in New Issue
Block a user