Set COLORTERM=truecolor in container environment
All checks were successful
Build App / build-linux (push) Successful in 2m39s
Build App / build-windows (push) Successful in 3m23s

Tells CLI tools (Claude Code, vim, etc.) that the xterm.js terminal
supports 24-bit RGB color so they use the full palette.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 22:30:38 +00:00
parent fba4b9442c
commit 4721950eae

View File

@@ -120,6 +120,9 @@ pub async fn create_container(
let mut env_vars: Vec<String> = Vec::new(); let mut env_vars: Vec<String> = Vec::new();
// Tell CLI tools the terminal supports 24-bit RGB color
env_vars.push("COLORTERM=truecolor".to_string());
// Pass host UID/GID so the entrypoint can remap the container user // Pass host UID/GID so the entrypoint can remap the container user
#[cfg(unix)] #[cfg(unix)]
{ {