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
- 3ce0c24: feat: create a panic trace file (#1446) (@aymanbagabas)
- 99a80e6: feat: keyboard: split keyboard enhancements into separate functions (@aymanbagabas)
Bug fixes
- 576a623: fix(example): fix
keyboard-enhancements
example (@andreynering) - b62fc32: fix(examples): tui-daemon-combo: modelView must also implement Init and Update (@aymanbagabas)
- f97ba58: fix(key): add Keystroke() method to KeyPressMsg and KeyReleaseMsg (@aymanbagabas)
- b152063: fix(tutorials): update basics tutorial per v2 tea.Model changes (@meowgorithm)
- 0a63003: fix: Windows: first character input lost on successive programs (#1368) (@joshallenit)
- 78ed49b: fix: maintain exec output (#1276) (@raphaelvigee)
- 536b713: fix: remove unused keyboardc channel (@aymanbagabas)
- 65af983: fix: renderer: reset cursor state on close (@aymanbagabas)
- 185e281: fix: renderer: use mapnl when terminal is not a tty (@aymanbagabas)
Documentation updates
- af1fcd3: docs(examples): update textinput and textarea examples per Bubbles v2 API changes (#1425) (@meowgorithm)
- 1b0f489: docs(readme): cleanup badges (@meowgorithm)
- f502dc5: docs: add isbn form validation example (#1401) (@DerMaddis)
- a806274: docs: tidy (@bashbunni)
Other work
- ca9473b: ci: sync golangci-lint config (#1431) (@github-actions[bot])
- 42c169a: 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.