Repository navigation
v0.0.0-alpha.9
Pre-releaseHighlights
-
Gutters run the viewport's full height. A gutter used to stop at the last line, so one with a background ended partway down.
Gutterfuncs are now also called for the rows below the last line, with aGutterRow.Lineof-1, andLineNumbersdraws those rows blank in its style. If your gutter func indexes byr.Line, check for-1first:bloom.Viewport(m.file).Gutter(2, func(r bloom.GutterRow) string { if r.Line >= 0 && !r.Continued && m.changed[r.Line] { return changed.Render("▎") } return "" })
-
Handlers and tooltips that change without changing the screen take effect. Bubble Tea keeps the view it painted over a newer one that draws the same, and the mouse used to be routed with that older frame. Now it's routed with the latest frame whenever that frame draws the same, so a tooltip a node gets while the pointer is over it opens on the next move.
Changelog
🐞 Bug Fixes
- 33a7e28: draw viewport gutters down past the last line (@lrstanley)
- 161f64d: route the mouse with the latest frame when it draws the same (@lrstanley)
📦 Dependency Updates
1 change
- 7fd45f3: deps: bump go and bun dependencies (@lrstanley)
Full changelog: v0.0.0-alpha.8...v0.0.0-alpha.9
📦 Install
go get bloomfx.dev/bloom@v0.0.0-alpha.9Docs: bloomfx.dev/bloom
💬 What to do next?
- 🙋♂️ Running into an issue or want a specific feature? Take a look here!
- ⌚ Find previous releases.
- 🗝️ Find a vulnerability? Check out our Security and Disclosure policy.
- 🔗 Other useful links: