-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-aboutArea - About_ topicsArea - About_ topicsarea-coreArea - Microsoft.PowerShell.Core moduleArea - Microsoft.PowerShell.Core module
Description
Documentation Issue
The "Vertical tab (`v)" section in about_Special_Characters.md has several issues. It should be rewritten.
Context of the issue
-
Preview content
-
Version 7.1 content
-
Version 7.0 content
-
Version 5.1 content
Detailed description of the issue
The "Vertical tab (`v)" section in about_Special_Characters.md says that:
The horizontal tab (
`v) character advances to the next vertical tab stop and writes the remaining output at that point.
- (x) The horizontal tab -> (o) The vertical tab
- "the next vertical tab stop" is not explained enough. In contrast, the "Horizontal tab" section explains "By default, the PowerShell console has a tab stop at every eighth space."
This has no effect in the default Windows console.
Write-Host "There is a vertical tab`vbetween the words."
- That may be not true. The vertical tab is displayed as "♂" (actually not emoji) in my default Windows console. (Tested on
$PSVersionTable.PSVersion= 7.1.1 or 5.1.19041.610)
The following example shows the output you would get on a printer or in a different console host.
There is a vertical tab between the words.
- The output is different in my Windows Terminal app (version 1.5.10271.0). There are no spaces in front of the "between" as follows:
$ Write-Host "There is a vertical tab`vbetween the words."
There is a vertical tab
between the words.
Metadata
Metadata
Assignees
Labels
area-aboutArea - About_ topicsArea - About_ topicsarea-coreArea - Microsoft.PowerShell.Core moduleArea - Microsoft.PowerShell.Core module