pterm.DefaultBigText.WithLetters(pterm.NewLettersFromString("Hello")).Render()
To make a copy with modified options you can use:
pterm.DefaultBigText.WithOptionName(option)
To change multiple options at once, you can chain the functions:
pterm.DefaultBigText.WithOptionName(option).WithOptionName2(option2)...
Tip
Click the options and types to show the documentation on pkg.go.dev
Option | Type |
---|---|
Letters | Letters |
BigCharacters | map[string]string |
Writer | io.Writer |
This printer implements the interface
RenderablePrinter
Function | Description |
---|---|
Render() | Prints to Terminal |
Srender() | Returns a string |