From df239e373b982de5047c5c1ff9462b605614af43 Mon Sep 17 00:00:00 2001 From: Florian Schwarz Date: Mon, 30 Dec 2024 14:03:44 +0100 Subject: [PATCH] 4 Bit color support --- 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{