From 4721950eae18e3c10be563325880f6fe7f4e76cf Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Sat, 28 Feb 2026 22:30:38 +0000 Subject: [PATCH] Set COLORTERM=truecolor in container environment 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 --- app/src-tauri/src/docker/container.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src-tauri/src/docker/container.rs b/app/src-tauri/src/docker/container.rs index 0ff5eda..27955ff 100644 --- a/app/src-tauri/src/docker/container.rs +++ b/app/src-tauri/src/docker/container.rs @@ -120,6 +120,9 @@ pub async fn create_container( let mut env_vars: Vec = 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 #[cfg(unix)] {