summaryrefslogtreecommitdiff
path: root/internal/client/ui/whitespace.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/whitespace.go')
-rw-r--r--internal/client/ui/whitespace.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/internal/client/ui/whitespace.go b/internal/client/ui/whitespace.go
index c7c7d88..98dcac1 100644
--- a/internal/client/ui/whitespace.go
+++ b/internal/client/ui/whitespace.go
@@ -15,20 +15,6 @@ type whitespace struct {
chars string
}
-// newWhitespace creates a new whitespace renderer. The order of the options
-// matters, if you're using WithWhitespaceRenderer, make sure it comes first as
-// other options might depend on it.
-func newWhitespace(r *lipgloss.Renderer, opts ...WhitespaceOption) *whitespace {
- w := &whitespace{
- re: r,
- style: r.ColorProfile().String(),
- }
- for _, opt := range opts {
- opt(w)
- }
- return w
-}
-
// Render whitespaces.
func (w whitespace) render(width int) string {
if w.chars == "" {