Documentation
¶
Index ¶
Constants ¶
View Source
const ( ABit = 300 * time.Millisecond Some = time.Second More = 3 * time.Second ALot = 5 * time.Second )
View Source
const TYPE_DELAY = 100 * time.Millisecond
Variables ¶
View Source
var Stories = make(map[string]Story)
Functions ¶
Types ¶
type Config ¶
type MouseClickEvent ¶ added in v1.12.0
type MouseClickEvent struct {
Button keys.MouseButton
}
MouseClickEvent clicks at the current mouse position.
func Click ¶ added in v1.12.0
func Click() MouseClickEvent
func RightClick ¶ added in v1.12.0
func RightClick() MouseClickEvent
type MouseDragEvent ¶ added in v1.12.0
MouseDragEvent moves the cursor to (R, C) while holding the left mouse button, triggering drag/selection behavior.
func Drag ¶ added in v1.12.0
func Drag(r, c int) MouseDragEvent
type MouseMoveEvent ¶ added in v1.12.0
MouseMoveEvent tells the story runner to smoothly interpolate the cursor from its current position to (R, C).
func MouseMove ¶ added in v1.12.0
func MouseMove(r, c int) MouseMoveEvent
type MouseScrollEvent ¶ added in v1.12.0
type MouseScrollEvent struct {
Up bool
}
MouseScrollEvent scrolls at the current mouse position.
func Scroll ¶ added in v1.12.0
func Scroll(up bool) MouseScrollEvent
Click to show internal directories.
Click to hide internal directories.