feat: make mode/namespace loading more dynamic and add fallback handling
This commit is contained in:
parent
27613eab1f
commit
94fb5119ef
12 changed files with 152 additions and 130 deletions
|
@ -59,7 +59,7 @@ pub fn create(allocator: std.mem.Allocator) !tui.Mode {
|
|||
self.menu.resize(.{ .y = 0, .x = self.menu_pos_x(), .w = max_menu_width() + 2 });
|
||||
try mv.floating_views.add(self.modal.widget());
|
||||
try mv.floating_views.add(self.menu.container_widget);
|
||||
const input_handler, const keybind_hints = try keybind.mode.overlay.palette.create(allocator, .{
|
||||
const input_handler, const keybind_hints = try keybind.mode("overlay/palette", allocator, .{
|
||||
.insert_command = "overlay_insert_bytes",
|
||||
});
|
||||
return .{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue