feat: powershell

This commit is contained in:
Gab
2026-04-09 22:23:04 +10:00
parent c5af4f99e1
commit fbe07343c8
10 changed files with 505 additions and 223 deletions

View File

@@ -176,7 +176,7 @@ export namespace Pty {
const id = PtyID.ascending()
const command = input.command || Shell.preferred()
const args = input.args || []
if (command.endsWith("sh")) {
if (Shell.login(command)) {
args.push("-l")
}