Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate high performance rendering feature and ANSI compressor #1138

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

meowgorithm
Copy link
Member

These revisions deprecate the high performance rendering set of commands:

  • SyncScrollArea()
  • ClearScrollArea()
  • ScrollUp()
  • ScrollDown()

Performance rendering is very hard to implement, goes against Bubble Tea's Elm Architecture design patterns, and is very limited in that it can only operate on the entire width of the terminal at once (so it won't work in, say, a viewport that spans half of the terminal width).

We’re also deprecating WithANSICompressor() as it has very noticeable performance costs which we believe outweigh the bandwidth benefits otherwise provided.

aymanbagabas and others added 2 commits September 11, 2024 16:50
Performance rendering is very limited in what it can do and is very hard
to implement.
@meowgorithm meowgorithm merged commit 69ecd85 into main Sep 12, 2024
30 checks passed
@meowgorithm meowgorithm deleted the deprecate-perforamance-stuff branch September 12, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants