Skip to content

Colorize table and list headers #14429

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature/enhancement

When Get-Error was implemented, there was a deliberate decision to introduce a new FormatAccent color to help differentiate the metadata from the data visually. We can use this same color to separate table headers and list metadata. This PR implements this #14406

Example:

image

@powercode asked a good question whether we want separate user configurations for tables vs lists. My preference is to keep it simple and just have one setting.

Another consideration is that if ANSI is available, the table header can be rendered with an underline instead of using up a row of dashes.

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions