noopStyleRenderer is a streamStyleRenderer that returns its input unchanged. It is used in place of a real lipgloss style when output is not a TTY.
| 400 | // noopStyleRenderer is a streamStyleRenderer that returns its input unchanged. |
| 401 | // It is used in place of a real lipgloss style when output is not a TTY. |
| 402 | type noopStyleRenderer struct{} |
| 403 | |
| 404 | func (noopStyleRenderer) Render(strs ...string) string { |
| 405 | if len(strs) == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected