mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-01 18:42:56 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -92,6 +92,8 @@ void ffGenerateTerminalThemeJsonResult(FF_MAYBE_UNUSED FFTerminalOptions* option
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_TERMINALTHEME_MODULE_NAME,
|
||||
.description = "Print current terminal theme (foreground and background colors)",
|
||||
.initOptions = (void*) ffInitTerminalThemeOptions,
|
||||
.destroyOptions = (void*) ffDestroyTerminalThemeOptions,
|
||||
.parseJsonObject = (void*) ffParseTerminalThemeJsonObject,
|
||||
.printModule = (void*) ffPrintTerminalTheme,
|
||||
.generateJsonResult = (void*) ffGenerateTerminalThemeJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user