flow

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(terminal emu.Terminal, viewport geom.Size) movement.Movement

func PreviewFlow

func PreviewFlow(
	terminal emu.Terminal,
	size, location geom.Vec2,
	highlights []movement.Highlight,
) *tty.State

func TestMovable

func TestMovable(t *testing.T)

Types

type ScrollPosition

type ScrollPosition int
const (
	ScrollPositionTop ScrollPosition = iota
	ScrollPositionCenter
	ScrollPositionBottom
)

Jump to

Keyboard shortcuts

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