refactor: use the same create interface for all modes
This commit is contained in:
parent
0037695983
commit
ae3d21ad08
13 changed files with 13 additions and 13 deletions
|
@ -53,7 +53,7 @@ pub fn Create(options: type) type {
|
|||
options.restore_state(self) catch {};
|
||||
return .{
|
||||
.{
|
||||
.input_handler = keybind.mode.mini.file_browser.create(),
|
||||
.input_handler = try keybind.mode.mini.file_browser.create(allocator, .{}),
|
||||
.event_handler = EventHandler.to_owned(self),
|
||||
},
|
||||
.{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue