pager

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WrapFast = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Segments []vaxis.Segment

	Fill     vaxis.Cell
	Offset   int
	WrapMode int
	// contains filtered or unexported fields
}

func (*Model) Draw

func (m *Model) Draw(win vaxis.Window)

func (*Model) Layout

func (m *Model) Layout()

func (*Model) ScrollDown

func (m *Model) ScrollDown()

Scrolls the pager down n lines, if it can

func (*Model) ScrollUp

func (m *Model) ScrollUp()

Jump to

Keyboard shortcuts

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