tui-realm icon indicating copy to clipboard operation
tui-realm copied to clipboard

feat(event): add event handling for mouse events

Open hasezoey opened this issue 1 month ago • 0 comments

Fixes #64

Description

Add MouseEvent to Event, adding handling for mouse events

Type of change

Please select relevant options.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update

Note: because Event and EventClause are not marked non_exhaustive, this can be seen as a incompatible change

Checklist

  • [x] My code follows the contribution guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings
  • [x] I formatted the code with cargo fmt
  • [x] I checked my code using cargo clippy and reports no warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] I have introduced no new C-bindings
  • [x] The changes I've made are Windows, MacOS, UNIX, Linux compatible (or I've handled them using cfg target_os)
  • [ ] I increased or maintained the code coverage for the project, compared to the previous commit

hasezoey avatar May 05 '24 10:05 hasezoey