Documentation
¶
Index ¶
- type Cursor
- type Screen
- func (s *Screen) CancelContext()
- func (s *Screen) DrawBox(x1, y1, x2, y2 int, text string, fill, borders, corners bool, ...)
- func (s *Screen) DrawText(x1, y1, x2, y2 int, text string, style tcell.Style)
- func (s *Screen) GetBoxStyle() tcell.Style
- func (s *Screen) GetCursorPosition() (x int, y int)
- func (s *Screen) GetDefStyle() tcell.Style
- func (s *Screen) GetScreen() tcell.Screen
- func (s *Screen) Quit()
- func (s *Screen) SetCursor(x, y int)
- func (s *Screen) ShowBox()
- func (s *Screen) ShowCursor()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func NewScreen ¶
func NewScreen(version configs.LimeVersion, setCtx func(context.Context), getCtx func() context.Context, cancelCtx context.CancelFunc) *Screen
func (*Screen) CancelContext ¶
func (s *Screen) CancelContext()
func (*Screen) GetBoxStyle ¶
func (s *Screen) GetBoxStyle() tcell.Style
func (*Screen) GetCursorPosition ¶
func (*Screen) GetDefStyle ¶
func (s *Screen) GetDefStyle() tcell.Style
func (*Screen) ShowCursor ¶
func (s *Screen) ShowCursor()
Click to show internal directories.
Click to hide internal directories.