scrollbar

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(vp *viewport.Model, height int) []string

Generate creates scrollbar characters based on viewport position. Returns a slice of strings representing the scrollbar for each line of the given height.

func Overlay

func Overlay(vp *viewport.Model) string

Overlay adds a scrollbar to the right side of viewport content. Returns the viewport's visible content with scrollbar characters appended to each line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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