refactor: move move_to_char mine mode keybinds

This commit is contained in:
CJ van den Berg 2024-10-26 21:11:55 +02:00
parent f67bfab5b7
commit 9724decc4a
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 98 additions and 23 deletions

View file

@ -11,9 +11,7 @@ const fmt = @import("std").fmt;
const Mode = @import("root.zig").Mode;
pub fn create(_: Allocator) error{OutOfMemory}!Mode {
return .{
.handler = EventHandler.static(@This()),
};
return .{ .handler = EventHandler.static(@This()) };
}
pub fn receive(_: tp.pid_ref, m: tp.message) error{Exit}!bool {