aboutsummaryrefslogtreecommitdiff
path: root/src/tui/text.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/text.hh')
-rw-r--r--src/tui/text.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tui/text.hh b/src/tui/text.hh
index 3c0b103..eb0a2bb 100644
--- a/src/tui/text.hh
+++ b/src/tui/text.hh
@@ -69,6 +69,7 @@ class TextService
public:
explicit TextService( std::size_t glyph_capacity );
TextAnalysis analyze( std::string_view utf8, bool line_breaks, bool tabs ) const;
+ std::string encode( std::u32string_view input ) const;
private:
std::size_t glyph_capacity_;