Skip to content

Commit 59902bf

Browse files
committed
UI.h: StringBox must have a template argument. Here we set it to std::string because the main branch doesn't know anything about unicode yet.
1 parent b2236ec commit 59902bf

File tree

1 file changed

+1
-1
lines changed
  • include/Termin8or/ui

1 file changed

+1
-1
lines changed

include/Termin8or/ui/UI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ namespace t8x
653653
class TextBox
654654
{
655655
protected:
656-
str::StringBox sb;
656+
str::StringBox<std::string> sb;
657657
size_t N = 0;
658658
size_t len_max = 0;
659659
std::vector<Style> line_styles;

0 commit comments

Comments
 (0)