exitbanner

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package exitbanner renders what Crush prints after the TUI exits.

Index

Constants

View Source
const FallbackWidth = 80

FallbackWidth is used when stdout is not a terminal, so the banner still wraps to something sane when output is piped or captured.

Variables

This section is empty.

Functions

func Render

func Render(version string, width int) string

Render returns the exit banner for the given style, or an empty string when there is nothing to print. A nil or untitled session means the resume hint is omitted, which for the compact banner leaves nothing at all.

Types

This section is empty.

Jump to

Keyboard shortcuts

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