Porytiles
Loading...
Searching...
No Matches
text_wrap.cpp File Reference
#include "porytiles/utilities/text/text_wrap.hpp"
#include <algorithm>
#include <cstddef>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for text_wrap.cpp:

Go to the source code of this file.

Namespaces

namespace  porytiles
 

Functions

std::vector< std::string > porytiles::wrap_ansi_line (const std::string &line, std::size_t width)
 Word-wraps a single logical line to a visible column width, preserving ANSI styling.