Table of Contents

Class FooterBar

Namespace
JD.AI.Rendering
Assembly
JD.AI.dll

Renders a FooterState snapshot into a Spectre.Console Spectre.Console.Rendering.IRenderable using a parsed FooterTemplate.

public sealed class FooterBar
Inheritance
FooterBar
Inherited Members

Constructors

FooterBar(string, bool)

Creates a new FooterBar with the given template string.

public FooterBar(string template, bool enabled = true)

Parameters

template string

Template string (e.g., {folder} │ {branch?} │ {context}).

enabled bool

Whether the footer is enabled. When false, ToRenderable(FooterState) returns an empty Spectre.Console.Text.

Methods

RenderPersistent(FooterState)

Renders the footer as a persistent status line pinned to the bottom terminal row.

public void RenderPersistent(FooterState state)

Parameters

state FooterState

ToRenderable(FooterState)

Renders the current state into an Spectre.Console.Rendering.IRenderable. Returns an empty Spectre.Console.Text when the footer is disabled.

public IRenderable ToRenderable(FooterState state)

Parameters

state FooterState

Returns

IRenderable