Documentation
¶
Index ¶
- func DiffFormatter() *diffview.DiffView
- func NewSimpleHelp(shortList []key.Binding, fullList [][]key.Binding) help.KeyMap
- func Section(text string, width int) string
- func SectionWithInfo(text string, width int, info string) string
- func SelectableButton(opts ButtonOpts) string
- func SelectableButtons(buttons []ButtonOpts, spacing string) string
- func SelectableButtonsVertical(buttons []ButtonOpts, spacing int) string
- func Status(opts StatusOpts, width int) string
- func Title(title string, width int) string
- type ButtonOpts
- type KeyMapHelp
- type StatusOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffFormatter ¶
func NewSimpleHelp ¶
func SelectableButton ¶
func SelectableButton(opts ButtonOpts) string
SelectableButton creates a button with an underlined character and selection state
func SelectableButtons ¶
func SelectableButtons(buttons []ButtonOpts, spacing string) string
SelectableButtons creates a horizontal row of selectable buttons
func SelectableButtonsVertical ¶
func SelectableButtonsVertical(buttons []ButtonOpts, spacing int) string
SelectableButtonsVertical creates a vertical row of selectable buttons
func Status ¶
func Status(opts StatusOpts, width int) string
Types ¶
type ButtonOpts ¶
type KeyMapHelp ¶
Click to show internal directories.
Click to hide internal directories.