Documentation ¶
Overview ¶
Package Windows holds the dimensions of the container window. The offsets communicate parts of the window that are already in use. This component is used by shell to adjust child components based on the window size minus the offsets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
func New ¶
New creates a new window model the dimensions are usualy the starter default with future tea.WindowSizeMsg messages updating the height and width dimensions.
func (Model) GetWindowSizeMsg ¶
func (m Model) GetWindowSizeMsg() tea.WindowSizeMsg
GetWindowSizeMsg returns a tea.WindowSizeMsg with the current window size minus the offsets.
Click to show internal directories.
Click to hide internal directories.