Documentation ¶
Overview ¶
Package view is the package to control a view of gocui package.
Index ¶
- func GetCursorPosition(g *gocui.Gui, v *gocui.View) (int, int, error)
- func MoveCursorBottom(g *gocui.Gui, v *gocui.View) error
- func MoveCursorDown(g *gocui.Gui, v *gocui.View) error
- func MoveCursorTop(g *gocui.Gui, v *gocui.View, dY int) error
- func MoveCursorUp(g *gocui.Gui, v *gocui.View, dY int) error
- func RefreshViewPeriodic(g *gocui.Gui, v *gocui.View, duration time.Duration, f func() error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCursorPosition ¶
GetCursorPosition return the real position of the cursor.
func MoveCursorBottom ¶
MoveCursorBottom move the cursor bottom.
func MoveCursorDown ¶
MoveCursorDown move the cursor of view down.
func MoveCursorTop ¶
MoveCursorTop move the cursor top.
func MoveCursorUp ¶
MoveCursorUp move the cursor of view up.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.