banner

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package banner renders memcode's startup wordmark banners. It is the original art from the (retired) Bubble Tea TUI, extracted verbatim and de-coupled from the model: the matrix theme's digital-rain card is reproduced exactly, parameterized by width/frame/recall so any renderer can drive it. Styling is lipgloss (ANSI strings) — no Bubble Tea dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntroSeen added in v0.25.3

func IntroSeen() bool

IntroSeen reports the animated intro has already played once on this machine. The animation is a first-boot moment, not a per-launch toll: every later launch rests on the static settled wordmark immediately.

func MarkIntroSeen added in v0.25.3

func MarkIntroSeen()

MarkIntroSeen records that the intro played (called when the animation starts, so even a skipped or interrupted first run counts as seen).

func Matrix

func Matrix(width, frame int, recall string) string

Matrix renders one frame of the digital-rain intro for the given terminal width. recall is the "↺ recalled …" line, shown near the end. frame >= MatrixFrames() yields the landed splash.

func MatrixFrames

func MatrixFrames() int

MatrixFrames is the number of animation frames before the landed hold.

Types

This section is empty.

Jump to

Keyboard shortcuts

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