From d4ebc71f9c35566bd663e68671bc631bec00e2a0 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 8 Jan 2023 10:21:00 +0100 Subject: [PATCH] fix(image): init writer before usage resolves #3326 --- src/cli/config_export_image.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/config_export_image.go b/src/cli/config_export_image.go index 61a8ae9f..316ed4de 100644 --- a/src/cli/config_export_image.go +++ b/src/cli/config_export_image.go @@ -62,6 +62,7 @@ Exports the config to an image file using customized output options.`, TerminalBackground: shell.ConsoleBackgroundColor(env, cfg.TerminalBackground), AnsiColors: writerColors, } + writer.Init(shell.GENERIC) eng := &engine.Engine{ Config: cfg, Env: env,