From ad203db6e45633535804934fb803a0030f8d4760 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 14 Nov 2022 10:00:38 -0800 Subject: [PATCH] set COLORTERM -- macOS uses this for emoji --- src/termio/Exec.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 077a5096d..ce3e34c93 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -79,6 +79,7 @@ pub fn init(alloc: Allocator, opts: termio.Options) !Exec { var env = try std.process.getEnvMap(alloc); defer env.deinit(); try env.put("TERM", "xterm-256color"); + try env.put("COLORTERM", "truecolor"); // Build our subcommand var cmd: Command = .{