-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Enable repeating table headers with Format-Table #8455
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Milestone
Description
Summary of the new feature/enhancement
Currently, when using Format-Table and the number of rows is more than the screen buffer,
the table header is scrolled off the screen and the rows don't have context on the meaning
of each cell.
This is particularly troublesome for users using a screen reader as it is likely they will lose context of the meaning of the different columns after a moderate number of rows is read.
Proposed technical implementation details (optional)
Add a new switch called -RepeatHeader (suggestions welcome on naming) where after every screen buffer full of rows, the table header is repeated. Note that because we cannot detect definitively that the output isn't being paged (where this is most useful), it is up to the user to pipe the output to a pager.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module