MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / style

Method style

main/interface/cpp-terminal/base.cpp:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <utility>
9
10std::string Term::style(Term::Style style) { return "\033[" + std::to_string((std::uint8_t)style) + 'm'; }
11
12std::pair<std::size_t, std::size_t> Term::get_size()
13{

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected