aboutsummaryrefslogtreecommitdiff
path: root/src/util/color.hpp
blob: 5511893b5b1de26f6cd7d5f5be0755c011047ac5 (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";

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

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