asciiart

package
v5.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package asciiart provides ASCII art printing functionality for KSail.

This package contains functions for rendering the KSail logo and other ASCII art with color formatting for terminal display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompactLogo() string

CompactLogo returns a minimal single-line logo for space-constrained contexts.

func Logo() string

Logo returns the KSail ASCII art block letter logo. This is the standard logo used across CLI and TUI.

func LogoLines added in v5.24.0

func LogoLines() int

LogoLines returns the number of lines in the logo.

func PrintKSailLogo(writer io.Writer)

PrintKSailLogo displays the KSail ASCII art with colored formatting.

func PrintLogoFromString

func PrintLogoFromString(writer io.Writer, logoContent string)

PrintLogoFromString processes logo content and applies color formatting. This function is exposed for testing purposes to enable coverage of edge cases. In normal usage, use PrintKSailLogo instead.

func Tagline added in v5.24.0

func Tagline() string

Tagline returns the standard KSail tagline.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL