feat: add initial simplistic command palette implementation
This commit is contained in:
parent
acd65d0157
commit
25556336b9
9 changed files with 289 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ pub fn Closure(comptime T: type) type {
|
|||
}
|
||||
|
||||
const CommandTable = std.ArrayList(?*Vtable);
|
||||
var commands: CommandTable = CommandTable.init(command_table_allocator);
|
||||
pub var commands: CommandTable = CommandTable.init(command_table_allocator);
|
||||
var command_names: std.StringHashMap(ID) = std.StringHashMap(ID).init(command_table_allocator);
|
||||
const command_table_allocator = std.heap.c_allocator;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue