From 121feb261caf88afe0272750033b9e77b0783efc Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 7 Jan 2025 18:19:23 +0200 Subject: Fixed linting issues, should now pass in CI --- internal/client/ui/whitespace.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'internal/client/ui/whitespace.go') 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 == "" { -- cgit v1.3.1