on main help sign in
fix(logo): un-expose the renderer for the letter S
2afa489Christian Rocha
internal/tui/components/logo/logo.go+3−3
@@ -42,7 +42,7 @@ func Render(version string, compact bool, o Opts) string {
42 }
42 }
43
43
44 // Title.
44 // Title.
45− crush := renderWord(1, !compact, letterC, letterR, letterU, LetterS, letterH)
45+ crush := renderWord(1, !compact, letterC, letterR, letterU, letterS, letterH)
46 crushWidth := lipgloss.Width(crush)
46 crushWidth := lipgloss.Width(crush)
47 b := new(strings.Builder)
47 b := new(strings.Builder)
48 for r := range strings.SplitSeq(crush, "\n") {
48 for r := range strings.SplitSeq(crush, "\n") {
@@ -216,10 +216,10 @@ func letterR(stretch bool) string {
216 )
216 )
217}
217}
218
218
219−// LetterS renders the letter S in a stylized way. It takes an integer that
219+// letterS renders the letter S in a stylized way. It takes an integer that
220// determines how many cells to stretch the letter. If the stretch is less than
220// determines how many cells to stretch the letter. If the stretch is less than
221// 1, it defaults to no stretching.
221// 1, it defaults to no stretching.
222−func LetterS(stretch bool) string {
222+func letterS(stretch bool) string {
223 // Here's what we're making:
223 // Here's what we're making:
224 //
224 //
225 // ▄▀▀▀▀
225 // ▄▀▀▀▀