scroll

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DisplayBar = lipgloss.NewStyle().
				Foreground(lipgloss.Color("#43884a")).
				Background(lipgloss.Color("#3acf49")).
				Render(`-`) // `│`

	DisplayTrack = lipgloss.NewStyle().
					Foreground(lipgloss.Color("#ff77a8")).
					Background(lipgloss.Color("#403441")).
					Render(`:`)
)

Functions

This section is empty.

Types

type Message

type Message uint8
const (
	ToTop Message = iota
	ToBottom
)

type Momentum

type Momentum struct {
	// contains filtered or unexported fields
}

func NewMomentum

func NewMomentum(depth int, frequency time.Duration) *Momentum

func (*Momentum) Down

func (m *Momentum) Down() int

func (*Momentum) Up

func (m *Momentum) Up() int

Jump to

Keyboard shortcuts

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