set COLORTERM -- macOS uses this for emoji

This commit is contained in:
Mitchell Hashimoto
2022-11-14 10:00:38 -08:00
parent f39484541f
commit ad203db6e4

View File

@ -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 = .{