aboutsummaryrefslogtreecommitdiff
path: root/src/util/color.hpp
blob: f7c38d2c96b047bffb52efb585ce3239c9351e77 (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 uint32_t &color) noexcept -> std::string;

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