docs(transient): add limitation for multiline prompt in PowerShell

relates to #2081
This commit is contained in:
Jan De Dobbeleer 2022-04-15 21:16:25 +02:00 committed by Jan De Dobbeleer
parent 746b9ad77e
commit 421139f5e1

View file

@ -11,6 +11,11 @@ import TabItem from "@theme/TabItem";
This feature only works in `fish`, `zsh`, `powershell` and `cmd` for the time being.
:::
:::warning
This features currently **doesn't work when using a multiline prompt in PowerShell** due
to limitations of PSReadline.
:::
Transient prompt, when enabled, replaces the prompt with a simpler one to allow more screen real estate.
You can use go [text/template][go-text-template] templates extended with [sprig][sprig] to enrich the text.
Environment variables are available, just like the [`console_title_template`][console-title] functionality.