From c05fc2dd32ebc0ce4b19678800bf83cecd9bd7a4 Mon Sep 17 00:00:00 2001 From: Florian Schwarz Date: Tue, 31 Dec 2024 10:06:28 +0100 Subject: [PATCH] 4 Bit color support (#2367) --- clab/graph.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clab/graph.go b/clab/graph.go index 7e5af62c9..32457a1ae 100644 --- a/clab/graph.go +++ b/clab/graph.go @@ -345,7 +345,10 @@ func (c *CLab) GenerateDrawioDiagram(version string, userArgs []string) error { Cmd: cmdArgs, Tty: true, OpenStdin: true, - Env: []string{"TERM=xterm-256color"}, + Env: []string{ + "TERM=xterm-256color", + "COLORTERM=truecolor", // 4-bit color support + }, }, &container.HostConfig{ Binds: []string{