StatusLineSegmentOptions class final
Per-segment render options (segmentOptions:). Fields the user did
not mention stay null; the omp defaults resolve through the
accessors (showThinkingLevel, maxLength, …) and mergedOver
merges a user partial over a preset base.
Constructors
Properties
- abbreviate → bool
-
no setter
- clock24h → bool
-
no setter
- gitShowBranch → bool?
-
final
- gitShowStaged → bool?
-
final
- gitShowUnstaged → bool?
-
final
- gitShowUntracked → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLength → int
-
no setter
- modelShowThinkingLevel → bool?
-
final
- pathAbbreviate → bool?
-
final
- pathMaxLength → int?
-
final
- pathStripWorkPrefix → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showBranch → bool
-
no setter
- showSeconds → bool
-
no setter
- showStaged → bool
-
no setter
- showThinkingLevel → bool
-
omp defaults (the
!== falsereadings — on unless switched off).no setter - showUnstaged → bool
-
no setter
- showUntracked → bool
-
no setter
- stripWorkPrefix → bool
-
no setter
- time24h → bool?
-
final
- timeShowSeconds → bool?
-
final
Methods
-
mergedOver(
StatusLineSegmentOptions base) → StatusLineSegmentOptions -
Field-wise merge: the receiver's mentioned fields win, unmentioned
ones fall back to
base(the preset's partial). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String -
YAML fragment (the
segmentOptions:block insidetui.statusLine:), grouped into themodel/path/git/timesubsections the parser reads, only non-default mentions — the file stays minimal. Empty string when nothing non-default is set. -
withPathMaxLength(
int maxLength) → StatusLineSegmentOptions - A copy with pathMaxLength replaced — the truncation ladder's path-shrink re-render seam.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited