Skip to content

Rewrite "Vertical tab" in about_Special_Characters.md #7212

@matt9ucci

Description

@matt9ucci

Documentation Issue

The "Vertical tab (`v)" section in about_Special_Characters.md has several issues. It should be rewritten.

Context of the issue

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-coreArea - Microsoft.PowerShell.Core module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions