Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateFileListViewport ¶
func CalculateFileListViewport(currentViewport, currentCursor, totalItems, terminalHeight, headerLines int) int
CalculateFileListViewport calculates the viewport position for file list
func CalculateItemsPerScreen ¶
CalculateItemsPerScreen calculates how many items fit on screen
func CalculateSimulatorViewport ¶
CalculateSimulatorViewport calculates the viewport position for simulator list
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the application state. It is grouped into per- view substates; only the substate matching viewState is "live" in the UX sense at any given moment, but all of them persist so that back-navigation can restore cursor positions.
Click to show internal directories.
Click to hide internal directories.