Documentation
¶
Index ¶
- func PrintOnly(report *TabbedReport)
- func RunInteractivePages(report *TabbedReport) error
- func RunInteractivePagesWithoutPrint(report *TabbedReport) error
- type InteractivePage
- type Page
- type ReportPages
- type ScrollableContent
- func (s *ScrollableContent) Init() tea.Cmd
- func (s *ScrollableContent) OriginalContent() string
- func (s *ScrollableContent) ScrollPercent() float64
- func (s *ScrollableContent) SetDimensions(width, height int)
- func (s *ScrollableContent) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (s *ScrollableContent) View() string
- type TabbedReport
- type WrappedLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintOnly ¶
func PrintOnly(report *TabbedReport)
func RunInteractivePages ¶
func RunInteractivePages(report *TabbedReport) error
func RunInteractivePagesWithoutPrint ¶
func RunInteractivePagesWithoutPrint(report *TabbedReport) error
Types ¶
type InteractivePage ¶
type InteractivePage = Page
type ReportPages ¶
type ReportPages = TabbedReport
type ScrollableContent ¶
type ScrollableContent struct {
// contains filtered or unexported fields
}
func NewScrollableContent ¶
func NewScrollableContent(content tea.Model) *ScrollableContent
func (*ScrollableContent) Init ¶
func (s *ScrollableContent) Init() tea.Cmd
func (*ScrollableContent) OriginalContent ¶
func (s *ScrollableContent) OriginalContent() string
func (*ScrollableContent) ScrollPercent ¶
func (s *ScrollableContent) ScrollPercent() float64
func (*ScrollableContent) SetDimensions ¶
func (s *ScrollableContent) SetDimensions(width, height int)
func (*ScrollableContent) View ¶
func (s *ScrollableContent) View() string
type TabbedReport ¶
type TabbedReport struct {
Title string `json:"title"`
Subtitle string `json:"subtitle"`
Helper string `json:"helper"`
Pages []Page `json:"pages"`
// contains filtered or unexported fields
}
func (*TabbedReport) Init ¶
func (r *TabbedReport) Init() tea.Cmd
func (*TabbedReport) RenderFullContent ¶
func (r *TabbedReport) RenderFullContent() string
func (*TabbedReport) View ¶
func (r *TabbedReport) View() string
type WrappedLine ¶
Click to show internal directories.
Click to hide internal directories.