bubbletea/examples/print-key
Ayman Bagabas 99a80e67ee
feat: keyboard: split keyboard enhancements into separate functions
This commit refactors the keyboard enhancements functionality by
splitting the `WithKeyboardEnhancements` function into three separate
functions:
- `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.

This change improves clarity and usability by allowing users to enable
specific keyboard enhancements individually, rather than requiring them
to use a single function with multiple options.
2025-06-02 14:09:47 -04:00
..
main.go feat: keyboard: split keyboard enhancements into separate functions 2025-06-02 14:09:47 -04:00