libwget-console(3) wget2 libwget-console(3)

libwget-console - Console functions


void wget_console_set_fg_color (WGET_GCC_UNUSED wget_console_color colorid)
void wget_console_reset_fg_color (void)
int wget_console_init (void)
int wget_console_deinit (void)

Routines to address console controls like cursor positioning, fg+bg colors, ...

Parameters

colorid Number of foreground/text color to set

Sets the console foreground (text) color.

Resets the console foreground (text) color.

Returns

0 on success, or -1 on error

Initializes the console.

Returns

0 on success, or -1 on error

Deinitializes the console.

Generated automatically by Doxygen for wget2 from the source code.

Thu Aug 31 2023 Version 2.1.0