Documentation ¶
Overview ¶
Package screen represents screen
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface { GetScreen() tcell.Screen ScreenSize() (int, int) Clear() Finish() StartPollEvent(ctx context.Context) StopPollEvent() GetEventChan() chan Event }
Client include related screen.
type IClient ¶ added in v0.9.31
type IClient struct {
// contains filtered or unexported fields
}
IClient implements Client interface.
func (*IClient) GetEventChan ¶ added in v0.9.31
GetEventChan gets an event connection.
func (*IClient) ScreenSize ¶ added in v0.9.31
ScreenSize gets screen size.
func (*IClient) StartPollEvent ¶ added in v0.9.31
StartPollEvent starts polling event on goroutine.
func (*IClient) StopPollEvent ¶ added in v0.9.31
func (c *IClient) StopPollEvent()
StopPollEvent stops polling event of screen.
Click to show internal directories.
Click to hide internal directories.