TextView.GetRegionText() error when region contains color tags #69
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#69
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hi,
Firt, a big thanks for the awesome work on cview!!
I think I found a bug with TextView.GetRegionText() (unless I'm doing something wrong) when a region contains color tags.
I created this simple code (based on the TextView demo) to reproduce:
I get the following error, while hitting 1, 2 or 3 (so I have the issue even if just 1 region has color tags):
If I change the corporate variable to:
(Removing color tags in region 1)
Then it works as expected.
I'm using go 1.16.4
my go.mod contains:
Let me know if I did something wrong or if you need more debug!
Thanks for reporting this in detail.