GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Add `-RepeatHeader` to `Format-Table` to enable repeating header for each screen full by SteveL-MSFT · Pull Request #8481 · PowerShell/PowerShell Conversation
|
|
The remaining codefactor issues are not related to this PR or I'm adopting the current conventions in the source code for consistency but breaks CodeFactor rules. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1073566 to
38c5f8e
Compare
38c5f8e to
3fc6463
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Propose a different way to organize the code
…each screen full (PowerShell#8481) When using a screen reader or just getting the output of a table with lots of rows, the header is no longer on the screen and the columns may no longer make sense without the context. This change adds a `-RepeatHeader` switch to `Format-Table` to enable re-outputting the header after every screen full (minus 1 row). Expectation is that the user is piping the output to a pager (e.g. less) which uses the bottom row for pager information. I followed the `AutoSize` parameter as the way to get the parameter from the cmdlet into the deep formatting object where it's needed.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Enable repeating table headers with Format-Table
There was an error while loading. Please reload this page.