summaryrefslogtreecommitdiff
path: root/src/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.go')
-rw-r--r--src/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.go b/src/item.go
index 66b3e4d1..06413503 100644
--- a/src/item.go
+++ b/src/item.go
@@ -128,7 +128,7 @@ func (item *Item) AsString(stripAnsi bool) string {
func (item *Item) StringPtr(stripAnsi bool) *string {
if item.origText != nil {
if stripAnsi {
- trimmed, _, _ := extractColor(string(*item.origText), nil)
+ trimmed, _, _ := extractColor(string(*item.origText), nil, nil)
return &trimmed
}
orig := string(*item.origText)