mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #464] question: why convert ansi escape sequences to "color codes" #333
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghostsquad on GitHub (Jun 27, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/464
This is just a design question of why you chose to convert ansi escape sequences to "color codes"?
@rivo commented on GitHub (Jun 28, 2020):
The colour tags came first. I wanted a simple way to add colour to widgets*.
But then there were users who wanted to display the output of other processes in a
TextView, including colour. So now there's a converter for ANSI escape sequences.