Update module charm.land/lipgloss/v2 to v2.0.6 - autoclosed - #237
Closed
renovate[bot] wants to merge 1 commit into
Closed
Update module charm.land/lipgloss/v2 to v2.0.6 - autoclosed#237renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
This PR contains the following updates:
v2.0.5→v2.0.6Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
charmbracelet/lipgloss (charm.land/lipgloss/v2)
v2.0.6Compare Source
Measure Twice, Draw Once
Mostly a width-measurement release, courtesy of some Ultraviolet and
x/ansibumps, plus a table fix.Emoji
Ultraviolet now asks the terminal at startup whether it supports Unicode core mode (DEC mode 2027), and when it does, measures widths the same way the terminal does. No more drifting borders on rows with
⚠️and friends.It also had a four-column cap on cell width, which meant anything wider was dropped from the screen entirely —
👨👩👧👦is eight columns. That cap is gone.Hindi
Terminals without mode 2027 advance the cursor once per codepoint and don't know about cluster boundaries. Unicode 15.1 merged Indic conjuncts into single clusters, so
स्तेis one cluster that those terminals still paint in two columns. Measuring it as a unit put everything after it in the wrong place.The wcwidth path now measures per codepoint, matching what those terminals actually do. If you're rendering through Bubble Tea, Devanagari should line up.
Tables
Columns no longer shrink to zero. There's now a minimum width floor of padding plus one character, with a fallback to the old behavior when the width budget is impossible. Thanks to @taciturnaxolotl!
Heads up
Canvas.Render()now trims trailing whitespace. Expect goldens to move.Changelog
Fixed
d231906: fix(table): prevent columns from shrinking to zero width (#671) (@taciturnaxolotl)Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.