Skip to content
Discussion options

You must be logged in to vote

Hi Federico,

Your assessment is accurate. Ultimately all the renderables will generate a sequence of Segments.

The advantage of Segments is that they can be further processed. For instance the table can render something and process the segments to fit within the cells. It also makes it possible to target the output to either the console or HTML. It would be very difficult to do any of that if you generate text with embedded ansi escape codes.

Will

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@FedeClaudi
Comment options

Answer selected by FedeClaudi
Comment options

You must be logged in to vote
3 replies
@willmcgugan
Comment options

@FedeClaudi
Comment options

@willmcgugan
Comment options

Comment options

You must be logged in to vote
2 replies
@willmcgugan
Comment options

@FedeClaudi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants