mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -109,6 +109,8 @@ void ffGenerateTerminalFontJsonResult(FF_MAYBE_UNUSED FFTerminalOptions* options
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_TERMINALFONT_MODULE_NAME,
|
||||
.description = "Print font name and size used by current terminal",
|
||||
.initOptions = (void*) ffInitTerminalFontOptions,
|
||||
.destroyOptions = (void*) ffDestroyTerminalFontOptions,
|
||||
.parseJsonObject = (void*) ffParseTerminalFontJsonObject,
|
||||
.printModule = (void*) ffPrintTerminalFont,
|
||||
.generateJsonResult = (void*) ffGenerateTerminalFontJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user