aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/tstring/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/messages/tstring/string.go')
-rw-r--r--ui/messages/tstring/string.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/messages/tstring/string.go b/ui/messages/tstring/string.go
index d1ad446..a87d16a 100644
--- a/ui/messages/tstring/string.go
+++ b/ui/messages/tstring/string.go
@@ -25,6 +25,10 @@ import (
type TString []Cell
+func NewBlankTString() TString {
+ return make([]Cell, 0)
+}
+
func NewTString(str string) TString {
newStr := make([]Cell, len(str))
for i, char := range str {