libwget-console(3)
π libwget-console β Library Functions Manual π
okay bestie, welcome to the console page of libwget β this is the part of wget2's library that handles all the pretty stuff on your terminal. yes, the colors. the vibes. the cursor doing what you tell it to. let's go β¨
πΈ NAME πΈ
libwget-console β Console functions π
β¨ SYNOPSIS β¨
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)
π¦ Detailed Description π¦
so likeβ¦ these are the routines that talk to your console's controls. think cursor positioning, foreground + background colors, and all that other terminal-makeover goodness. it's giving glow-up for your stdout, no cap π
π Function Documentation π
π void wget_console_set_fg_color (WGET_GCC_UNUSED wget_console_color colorid)
Parameters
coloridβ Number of foreground/text color to set
Sets the console foreground (text) color. that's it, that's the whole job β you hand it a colorid, it makes your text that color. iconic behavior honestly π
π void wget_console_reset_fg_color (void)
Resets the console foreground (text) color. back to default, back to basics, we love a clean slate β¨
π int wget_console_init (void)
Returns
0on success, or-1on error
Initializes the console. call this before you start doing console things, bestie β you gotta set the stage before the main character walks in π«Ά
πΈ int wget_console_deinit (void)
Returns
0on success, or-1on error
Deinitializes the console. the graceful exit β cleanup era, we stan a tidy shutdown π
π« Author π«
Generated automatically by Doxygen for wget2 from the source code. (not me writing this by hand, it's Doxygen doing its lil thing, and honestly? it ate π€β¨)
and that's the whole page, babe π₯° this was wget2, Version 2.3.0, of libwget-console(3) β go forth and color your terminal like the icon you are ππ¦πΈ
π¦ where this page comes from
- fedora 43: wget2-devel 2.3.0-2.fc43 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 43: wget2-devel 2.3.0-2.fc43 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: wget2-devel 2.3.0-1.fc44
- fedora 44: wget2-devel 2.3.0-1.fc44
- fedora 44: wget2-devel 2.3.0-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: wget2-devel 2.3.0-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms