Fix missing public declaration

This commit is contained in:
Bob Farrell 2024-06-01 18:11:44 +01:00
parent b304a3509b
commit b7af4a396e

View File

@ -31,7 +31,7 @@ pub const codes = .{
/// Map color codes generated by `std.io.tty.Config.setColor` back to `std.io.tty.Color`. Used by
/// `jetzig.loggers.LogQueue.writeWindows` to parse escape codes so they can be passed to
/// `std.io.tty.Config.setColor` (using Windows API to set console color mode).
const codes_map = if (@hasDecl(std, "ComptimeStringMap"))
pub const codes_map = if (@hasDecl(std, "ComptimeStringMap"))
std.ComptimeStringMap(std.io.tty.Color, .{
.{ "30", .black },
.{ "31", .red },