Documentation
¶
Index ¶
- func Markdown(options ...Opt) *markdown
- func Progress(options ...Opt) *progress
- func TableFor[T TableRow](options ...Opt) *table[T]
- type Opt
- type TableRow
- type Viewport
- func (v *Viewport) Append(text string) error
- func (v *Viewport) AppendSection(key, text string) error
- func (v *Viewport) ClearCursor() error
- func (v *Viewport) DeleteSection(key string) error
- func (v *Viewport) GotoBottom()
- func (v *Viewport) GotoTop()
- func (v *Viewport) LineDown(n int)
- func (v *Viewport) LineUp(n int)
- func (v *Viewport) PageDown()
- func (v *Viewport) PageUp()
- func (v *Viewport) Resize(width, height int) error
- func (v *Viewport) SetContent(text string) error
- func (v *Viewport) SetCursor(key, text string) error
- func (v *Viewport) SetCursorVisible(visible bool) error
- func (v *Viewport) SetSection(key, text string) error
- func (v *Viewport) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Viewport ¶
type Viewport struct {
// contains filtered or unexported fields
}
func NewViewport ¶
func (*Viewport) AppendSection ¶
func (*Viewport) ClearCursor ¶
func (*Viewport) DeleteSection ¶
func (*Viewport) GotoBottom ¶
func (v *Viewport) GotoBottom()
func (*Viewport) SetContent ¶
func (*Viewport) SetCursorVisible ¶
func (*Viewport) SetSection ¶
Click to show internal directories.
Click to hide internal directories.