Merge pull request #5421 from xtermjs/Tyriar-patch-1

Use Windows PowerShell instead of pwsh 7 in demo
This commit is contained in:
Daniel Imms
2025-10-18 06:20:41 -07:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ function startServer() {
const cols = parseInt(req.query.cols);
const rows = parseInt(req.query.rows);
const isWindows = process.platform === 'win32';
const term = pty.spawn(isWindows ? 'pwsh.exe' : 'bash', [], {
const term = pty.spawn(isWindows ? 'powershell.exe' : 'bash', [], {
name: 'xterm-256color',
cols: cols ?? 80,
rows: rows ?? 24,