Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WithShortcut ¶
WithShortcut is a button that displays a keyboard shortcut
func NewWithShortcut ¶
func NewWithShortcut(label string, shortcut rune) *WithShortcut
NewWithShortcut creates a new button with a keyboard shortcut indicator
func (*WithShortcut) Draw ¶
func (b *WithShortcut) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*WithShortcut) SetShortcutStyle ¶
func (b *WithShortcut) SetShortcutStyle(style tcell.Style) *WithShortcut
SetShortcutStyle sets the style for the shortcut indicator
Click to show internal directories.
Click to hide internal directories.