Bubbles::Viewport::Model
Constructors
Instance methods
HalfPageDown moves the view down by half the height of the viewport. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:501
HalfPageUp moves the view up by half the height of the viewport. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:509
PageDown moves the view down by the number of lines in the viewport. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:486
PageUp moves the view up by one height of the viewport. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:494
ScrollPercent returns the amount scrolled as a float between 0 and 1. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:200
TotalLineCount returns the total number of lines (both hidden and visible) within the viewport, accounting for soft wrapping. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:570
View renders the viewport into a string. Ported exactly from Go: vendor/bubbles/viewport/viewport.go:728