Skip to content

Commit 95cc315

Browse files
authored
Merge pull request #5421 from xtermjs/Tyriar-patch-1
Use Windows PowerShell instead of pwsh 7 in demo
2 parents a8fabcf + 7274e1b commit 95cc315

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function startServer() {
6060
const cols = parseInt(req.query.cols);
6161
const rows = parseInt(req.query.rows);
6262
const isWindows = process.platform === 'win32';
63-
const term = pty.spawn(isWindows ? 'pwsh.exe' : 'bash', [], {
63+
const term = pty.spawn(isWindows ? 'powershell.exe' : 'bash', [], {
6464
name: 'xterm-256color',
6565
cols: cols ?? 80,
6666
rows: rows ?? 24,

0 commit comments

Comments
 (0)