withPathMaxLength method

StatusLineSegmentOptions withPathMaxLength(
  1. int maxLength
)

A copy with pathMaxLength replaced — the truncation ladder's path-shrink re-render seam.

Implementation

StatusLineSegmentOptions withPathMaxLength(int maxLength) =>
    StatusLineSegmentOptions(
      modelShowThinkingLevel: modelShowThinkingLevel,
      pathAbbreviate: pathAbbreviate,
      pathMaxLength: maxLength,
      pathStripWorkPrefix: pathStripWorkPrefix,
      gitShowBranch: gitShowBranch,
      gitShowStaged: gitShowStaged,
      gitShowUnstaged: gitShowUnstaged,
      gitShowUntracked: gitShowUntracked,
      time24h: time24h,
      timeShowSeconds: timeShowSeconds,
    );