render

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

ABOUTME: Shared prompt rendering for human gate UIs. ABOUTME: Renders markdown content with word wrapping for terminal display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prompt

func Prompt(prompt string, width int) string

Prompt renders a prompt string as markdown with word wrapping to fit the given terminal width. Used by both bubbletea components and the console interviewer to give humans formatted, readable context from prior LLM nodes.

func PromptPlain

func PromptPlain(prompt string, width int) string

PromptPlain renders a prompt string with word wrapping but no ANSI styling. Used by ConsoleInterviewer so piped/CI output stays free of escape sequences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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