aboutsummaryrefslogtreecommitdiff
path: root/src/events.rs
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2024-04-26 01:27:13 -0400
committerLibravatar Silas Bartha <silas@exvacuum.dev>2024-04-26 01:27:13 -0400
commit646db8328611f21a5850cc9834b6c72bfdf0c829 (patch)
tree0d65f0c20b70da007aab141cfe6b123119e8c909 /src/events.rs
Initial Commitv0.1.0
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/events.rs b/src/events.rs
new file mode 100644
index 0000000..3f7057b
--- /dev/null
+++ b/src/events.rs
@@ -0,0 +1,5 @@
+use bevy::prelude::*;
+use crossterm::event::Event;
+
+#[derive(Event)]
+pub struct TerminalInputEvent(pub Event);