generated from GarandPLG/rust-flake-template
Rename Event to AppEvent and update imports
Rename the generic `Event` enum to `AppEvent` and propagate the change through `app.rs`, `mod.rs`, and `main.rs`. Adjust function signatures, imports, and channel usage to use the new name and the `read` helper from crossterm. Ensure all senders/receivers now work with `AppEvent`.
This commit is contained in:
1 parent
921596376f
commit
dd64ef78f7
3 files changed
+17
-17
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ pub mod view;
|
||||
pub mod views;
|
||||
pub mod widgets;
|
||||
|
||||
pub use app::{App, Event, handle_input_events};
|
||||
pub use app::{App, AppEvent, handle_input_events};
|
||||
pub use keybind::handle_keybindings;
|
||||
pub use state::GameStates;
|
||||
pub use view::View;
|
||||
Reference in new issue
Block a user