(props: Readonly<SpanProps>, dimColor: boolean)
| 125 | }; |
| 126 | |
| 127 | export function resolveAnsiRenderProps(props: Readonly<SpanProps>, dimColor: boolean): Readonly<SpanProps> { |
| 128 | return dimColor && props.dim !== true ? { |
| 129 | ...props, |
| 130 | dim: true |
| 131 | } : props; |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Parse an ANSI string into spans using the termio parser. |
no outgoing calls
no test coverage detected