Extra Extra Extended Keyboard Enhancements!
This release adds support for the full set of Keyboard Enhancements. Now you can enable any enhancements on top of the default disambiguate one.
func (m model) View() tea.View {
var v tea.View
v.KeyboardEnhancements.ReportAlternateKeys = true
v.KeyboardEnhancements.ReportAllKeysAsEscapeCodes = true
return v
}Smarter Renderer
We also fixed a few renderer related bugs and made the Cursed Renderer smarter. Now, we always reset the terminal tab stops for the Bubble Tea program process context. People using tabs -N in their shell profiles shouldn't be affected.
See the full changelog below.
Changelog
New!
- 05df5ae: feat: support extended keyboard enhancements (#1626) (@aymanbagabas)
Fixed
- a3d7807: fix(ci): only run build-examples on non-dependabot PRs (@aymanbagabas)
- 7df1e65: fix(examples): migrate imports to charm.land for the glamour example (#1642) (@mhdna)
- ee06e98: fix(examples): resolve nil pointer dereference (#1663) (@mattpcaswell)
- ac355fe: fix(renderer): restore tab stops if hard tabs are enabled (#1677) (@aymanbagabas)
- 729f05c: fix: add missing signal.Stop in suspendProcess to prevent signal channel leak (Closes #1673) (#1674) (@kuishou68)
Docs
- bbe4faf: docs(example): add textarea dynamic height example (#1639) (@meowgorithm)
- e19d255: docs: fix README wording (#1624) (@Rohan5commit)
Other stuff
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.