mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 15:53:51 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -97,6 +97,8 @@ void ffGenerateCursorJsonResult(FF_MAYBE_UNUSED FFCursorOptions* options, yyjson
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_CURSOR_MODULE_NAME,
|
||||
.description = "Print cursor style name",
|
||||
.initOptions = (void*) ffInitCursorOptions,
|
||||
.destroyOptions = (void*) ffDestroyCursorOptions,
|
||||
.parseJsonObject = (void*) ffParseCursorJsonObject,
|
||||
.printModule = (void*) ffPrintCursor,
|
||||
.generateJsonResult = (void*) ffGenerateCursorJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user