v2.0.0-beta.4
How’s it going?
This is a small beta release with a few changes and a bunch of bug fixes. Enjoy!
Keyboard
WithKeyboardEnhancements has been split into three separate functions for clarity:
WithKeyReleases: Enables support for reporting key release events.WithUniformKeyLayout: Enables support for reporting key events in a uniform layout format.RequestKeyDisambiguation: Enables support for disambiguated key events.
Debugging Panics
You can now set TEA_DEBUG to true to dump panic logs to the current directory.
export TEA_DEBUG=1
Changelog
New Features
- 3ce0c2452ac121634f0530b9181dd0b5ddfa516a: feat: create a panic trace file (#1446) (@aymanbagabas)
- 99a80e67ee43a282a1571ac4ec25c0919ac0ce8a: feat: keyboard: split keyboard enhancements into separate functions (@aymanbagabas)
Bug fixes
- 576a623d540ea0ed880e1ee315cd42ce2c56642b: fix(example): fix
keyboard-enhancementsexample (@andreynering) - b62fc32f3ecb1a025f44745d842d0bdf9098e2c8: fix(examples): tui-daemon-combo: modelView must also implement Init and Update (@aymanbagabas)
- f97ba58c0f7ed835ed6f7af793d4e3b14e6b73ee: fix(key): add Keystroke() method to KeyPressMsg and KeyReleaseMsg (@aymanbagabas)
- b152063fd2744082eb4225e8e792fb3f1c7e38d2: fix(tutorials): update basics tutorial per v2 tea.Model changes (@meowgorithm)
- 0a63003a85a3a4800bba0a2bf4c476aedec9b172: fix: Windows: first character input lost on successive programs (#1368) (@joshallenit)
- 78ed49b060c81477836604621a079edf7b683ff5: fix: maintain exec output (#1276) (@raphaelvigee)
- 536b713a081c228832bb85f56f1de38b8a2d2452: fix: remove unused keyboardc channel (@aymanbagabas)
- 65af983b4e31d8e8b0ea81ae8384d8d63de1934f: fix: renderer: reset cursor state on close (@aymanbagabas)
- 185e28113f13f29a98e63ff7df932fa79e7982ba: fix: renderer: use mapnl when terminal is not a tty (@aymanbagabas)
Documentation updates
- af1fcd396c7755243a3b241a786e9799fb356a8f: docs(examples): update textinput and textarea examples per Bubbles v2 API changes (#1425) (@meowgorithm)
- 1b0f48941ac53ce3a11a91778fe555fde2b1e70c: docs(readme): cleanup badges (@meowgorithm)
- f502dc548b7157ba49e3889f296750dec74791be: docs: add isbn form validation example (#1401) (@DerMaddis)
- a806274f6249b0aab90236fcb754cf390bc647eb: docs: tidy (@bashbunni)
Other work
- ca9473b2d93dc3abce4f8b634e11a4b351517a84: ci: sync golangci-lint config (#1431) (@github-actions[bot])
- 42c169ad3003b0ff0feb83aaf39f54a7c261e735: docs(examples/textinput): support virtual cursor (@meowgorithm)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
