feat: refresh open_recent palette when the project is done loading the file list
This commit is contained in:
parent
4ca455cbba
commit
67fc1581d3
3 changed files with 16 additions and 10 deletions
|
@ -200,6 +200,10 @@ fn process_project_manager(self: *Self, m: tp.message) MessageFilter.Error!void
|
|||
self.need_reset = true;
|
||||
if (!std.mem.eql(u8, self.inputbox.text.items, query))
|
||||
try self.start_query();
|
||||
} else if (try cbor.match(m.buf, .{ "PRJ", "open_done", tp.string, tp.extract(&self.longest), tp.any })) {
|
||||
self.query_pending = false;
|
||||
self.need_reset = true;
|
||||
try self.start_query();
|
||||
} else {
|
||||
self.logger.err("receive", tp.unexpected(m));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue