MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / isEscapeCode

Function isEscapeCode

source/core/StarText.hpp:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36 String stripEscapeCodes(String const& s);
37 inline bool isEscapeCode(Utf32Type c) { return c == CmdEsc || c == StartEsc; }
38
39 typedef function<bool(StringView text)> TextCallback;
40 typedef function<bool(StringView commands)> CommandsCallback;

Callers 2

preprocessEscapeCodesFunction · 0.85
processWrapTextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected