refactor: simplify keybind mode create
This commit is contained in:
parent
525287c7ac
commit
ac56635f7b
11 changed files with 13 additions and 21 deletions
|
@ -34,7 +34,7 @@ pub fn create(allocator: Allocator, _: command.Context) !struct { tui.Mode, tui.
|
|||
try self.commands.init(self);
|
||||
return .{
|
||||
.{
|
||||
.input_handler = keybind.mode.mini.goto.create(allocator),
|
||||
.input_handler = keybind.mode.mini.goto.create(),
|
||||
.event_handler = EventHandler.to_owned(self),
|
||||
},
|
||||
.{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue