-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposal: provide tea.Context through a function
This pre-initializes a lipgloss.Renderer on the appropriate output, which should be used by all Bubbles and components to correctly render taking the terminal capabilities into account. The renderer is stored in a tea.Context, which can get accessed through tea.Program. This could also hold other properties like the initial dimensions of the output or settings like alt-screen or bracketed paste being supported. This is a breaking API change as it changes tea.Program's API.
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters