共用方式為


PSConsoleReadLineOptions.PromptText Property

Definition

This is the text you want turned red on parse errors, but must occur immediately before the cursor when readline starts. If the prompt function is pure, this value can be inferred, e.g. the default prompt will use "> " for this value.

public string PromptText { get; set; }
member this.PromptText : string with get, set
Public Property PromptText As String

Property Value

Applies to