cursor

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(v View) error

func End added in v0.2.0

func End(v View) error

func Home added in v0.2.0

func Home(v View) error

func Left

func Left(v View) error

func PageDown added in v0.2.0

func PageDown(v View) error

func PageUp added in v0.2.0

func PageUp(v View) error
func Right(v View) error

func Up

func Up(v View) error

Types

type View

type View interface {
	Cursor() (int, int)
	Origin() (int, int)
	Speed() (right int, left int, down int, up int)
	Limits() (pageSize int, fullSize int)
	SetCursor(int, int) error
	SetOrigin(int, int) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL