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
feat!: introduce color profiles and use term/ansi for styles #269
base: master
Are you sure you want to change the base?
Commits on Apr 29, 2024
-
feat: switch to term/ansi for text manipulation
Use ANSI aware, wide characters support, uniseg backed term/ansi package to calculate string widths, truncate, and wrap strings. Related: muesli/reflow#71 Fixes: #258 Fixes: #220
Configuration menu - View commit details
-
Copy full SHA for e87acc3 - Browse repository at this point
Copy the full SHA e87acc3View commit details -
feat!: introduce color profiles and use term/ansi for styles
This introduces color profiles similar to Termenv color profiles. Plus, it switches to using Charmbracelet term & term/ansi to query terminal background color for the default renderer, and construct styles. However, it breaks the renderer API since it doesn't depend on Termenv anymore.
Configuration menu - View commit details
-
Copy full SHA for 05affa7 - Browse repository at this point
Copy the full SHA 05affa7View commit details -
refactor!: abstract away isatty from renderer
And export both EnvColorProfile and EnableLegacyWindowsANSI
Configuration menu - View commit details
-
Copy full SHA for 53cea0d - Browse repository at this point
Copy the full SHA 53cea0dView commit details -
refactor: introduce NoTTY profile and export Sequence
The NoTTY profile generates no sequences while the Ascii profile generates sequences with no colors (bold, italic, underline, etc)
Configuration menu - View commit details
-
Copy full SHA for 1d82be3 - Browse repository at this point
Copy the full SHA 1d82be3View commit details -
refactor: remove Sequence and cleanup
Replace Sequence with profile logic checks
Configuration menu - View commit details
-
Copy full SHA for 9ceb279 - Browse repository at this point
Copy the full SHA 9ceb279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2791e00 - Browse repository at this point
Copy the full SHA 2791e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b7cac4 - Browse repository at this point
Copy the full SHA 8b7cac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f80bf7 - Browse repository at this point
Copy the full SHA 1f80bf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1eb364 - Browse repository at this point
Copy the full SHA e1eb364View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd3952e - Browse repository at this point
Copy the full SHA bd3952eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf64f5 - Browse repository at this point
Copy the full SHA ebf64f5View commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61f326c - Browse repository at this point
Copy the full SHA 61f326cView commit details