fix(terminal): remove TTY allocation, use interactive bash with TERM env var

This commit is contained in:
Fusion
2026-05-21 11:21:51 +02:00
parent a200955ef2
commit a2c3d6877e
+6 -4
View File
@@ -20,11 +20,13 @@ class TerminalSession:
self.process = await asyncio.create_subprocess_exec(
"docker",
"exec",
"-it",
"-i",
"-e",
"TERM=xterm",
self.container_id,
"/bin/sh",
"-c",
"exec bash -l || exec sh -l",
"/bin/bash",
"-i",
"-l",
stdin=asyncio.subprocess.PIPE,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.STDOUT,