Porytiles
Loading...
Searching...
No Matches
text_wrap.hpp File Reference
#include <cstddef>
#include <string>
#include <vector>
Include dependency graph for text_wrap.hpp:
This graph shows which files directly or indirectly include this file:

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.