ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderMarkdown

func RenderMarkdown(text string) string

RenderMarkdown renders markdown text for terminal display.

func SetMarkdownWidth

func SetMarkdownWidth(width int)

SetMarkdownWidth updates the renderer to wrap at the given width.

func WrapText

func WrapText(text string) string

WrapText wraps plain text to the current width.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the root bubbletea model.

func NewApp

func NewApp(cfg *config.Config) *App

NewApp creates a new App model.

func (*App) Init

func (a *App) Init() tea.Cmd

func (*App) Update

func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*App) View

func (a *App) View() string

Jump to

Keyboard shortcuts

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