Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
TerminalEscape.h File Reference
#include <cstdint>
#include <string>
#include <string_view>
#include "donner/base/Utf8.h"
Include dependency graph for TerminalEscape.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

std::string donner::EscapeTerminalText (std::string_view text, bool preserveNewlines=false)
 Escape untrusted bytes and terminal format controls while preserving printable UTF-8.