on main help sign in
fix(logo): un-expose the renderer for the letter S
commit2afa489009e048dd14593222fa8231d14bdf5f1e authorChristian Rocha <christian@rocha.is> dateSun 1 Jun 2025, 22:30 (1 year ago) parent866e0e8
1 file changed+3−3
internal/tui/components/logo/logo.go+3−3
internal/tui/components/logo/logo.go+3−3
@@ -42,7 +42,7 @@ func Render(version string, compact bool, o Opts) string {
4242 }
4343
4444 // Title.
45− crush := renderWord(1, !compact, letterC, letterR, letterU, LetterS, letterH)
45+ crush := renderWord(1, !compact, letterC, letterR, letterU, letterS, letterH)
4646 crushWidth := lipgloss.Width(crush)
4747 b := new(strings.Builder)
4848 for r := range strings.SplitSeq(crush, "\n") {
@@ -216,10 +216,10 @@ func letterR(stretch bool) string {
216216 )
217217}
218218
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
220220// determines how many cells to stretch the letter. If the stretch is less than
221221// 1, it defaults to no stretching.
222−func LetterS(stretch bool) string {
222+func letterS(stretch bool) string {
223223 // Here's what we're making:
224224 //
225225 // ▄▀▀▀▀