aboutsummaryrefslogtreecommitdiff
path: root/src/util/color.hpp
blob: 2bb147c06cc9db4dc3c772b91e03f05520346764 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <fmt/core.h>
#include <string>

constexpr fmt::string_view RESET_ALL_MODES = "{esc}[0m";

auto get_foreground_esc_seq(const std::uint32_t &color) noexcept -> std::string;

auto get_background_esc_seq(const std::uint32_t &color) noexcept -> std::string;