refactor: move mini mode name and remove unused mode description field

This commit is contained in:
CJ van den Berg 2024-10-26 16:33:59 +02:00
parent 0ef553e4c6
commit f67bfab5b7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
18 changed files with 21 additions and 29 deletions

View file

@ -10,13 +10,9 @@ const fmt = @import("std").fmt;
const Mode = @import("root.zig").Mode;
const name = "goto";
pub fn create(_: Allocator) error{OutOfMemory}!Mode {
return .{
.handler = EventHandler.static(@This()),
.name = name,
.description = name,
};
}