You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's not a problem with the behavior but with how the Profile is currently structured.
Describe the solution you'd like
The ColorSystem property should be moved to the Capabilities class because it really represents one of the capabilities of the console.
The class RenderContext makes this even more evident. Because ColorSystem is not inside Capabilities / IReadOnlyCapabilities it results in a (IMHO) strange egde case where it has to be passed in as a separate constructor parameter and stored in a separate property inside RenderContext.
Describe alternatives you've considered
The alternative would be to leave it as it is and I have to live with the fact that it's not implemented how I would do it 😅
The text was updated successfully, but these errors were encountered:
* Moves ColorSystem from Profile to Capabilities
* Renames Tty to IsTerminal
* Adds IAnsiConsoleOutput to make output more flexible
Closes#343Closes#359Closes#369
Is your feature request related to a problem? Please describe.
It's not a problem with the behavior but with how the
Profile
is currently structured.Describe the solution you'd like
The
ColorSystem
property should be moved to theCapabilities
class because it really represents one of the capabilities of the console.The class
RenderContext
makes this even more evident. BecauseColorSystem
is not insideCapabilities
/IReadOnlyCapabilities
it results in a (IMHO) strange egde case where it has to be passed in as a separate constructor parameter and stored in a separate property insideRenderContext
.Describe alternatives you've considered
The alternative would be to leave it as it is and I have to live with the fact that it's not implemented how I would do it 😅
The text was updated successfully, but these errors were encountered: