mirror of
https://github.com/charmbracelet/gum
synced 2024-05-17 21:56:42 +02:00
11 lines
418 B
Go
11 lines
418 B
Go
package pager
|
|
|
|
import "github.com/charmbracelet/gum/style"
|
|
|
|
// Options are the options for the pager.
|
|
type Options struct {
|
|
Style style.Styles `embed:"" help:"Style the pager" envprefix:"GUM_PAGER_"`
|
|
HelpStyle style.Styles `embed:"" prefix:"help." help:"Style the help text" set:"defaultForeground=241" envprefix:"GUM_PAGER_HELP_"`
|
|
Content string `arg:"" optional:"" help:"Display content to scroll"`
|
|
}
|