Expand description
Status-line prompt customization. Wraps the existing DisplayTemplate
parser from format.rs, validating against a fixed set of prompt-only
placeholder names. Rendered against a PromptContext populated by the
viewport on every frame.
Escape sequences supported in template literals (inherited from
DisplayTemplate): \< (literal <), \\ (literal \), \n / \t
/ \r (newline / tab / CR), \e / \x1b / \033 (ESC — useful for
embedding raw SGR sequences in prompts).
Structs§
- Parsed
Prompt - Prompt
Context - All data the prompt template can resolve. Populated by the viewport
once per frame and passed to
ParsedPrompt::render.