DOKK / manpages / debian 11 / wget2-dev / libwget-console.3.en
libwget-console(3) wget2 libwget-console(3)

libwget-console - Console functions


void wget_console_set_fg_color (G_GNUC_WGET_UNUSED wget_console_color_t 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.

Tue Jan 26 2021 Version 1.99.1