Skip to content
ConsoleMonster
Struct

FooterSegment

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Base
ValueType
Modifiers
sealed

One segment on the right of a footer: text with an optional link (OSC 8 where the terminal supports it) and tone.

Inheritance

  • ValueType
  • FooterSegment

Usage

Explore 11 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 3

Accepted by parameters 8

Constructors

public FooterSegment(string text, string? link = null, ThemeToken? role = null) #

Creates a segment.

Parameters

text string required
The text.
link string? = null optional
A link target (http, https, mailto, ftp), or null.
role ConsoleMonster.Styling.ThemeToken? = null optional
The tone, or null for muted text.

Properties

public string Text { get; } #

The text.

public ThemeToken? Role { get; } #

The tone, or null for muted text.