Routines to address console controls like cursor positioning, fg+bg colors, ...
◆ wget_console_set_fg_color()
void wget_console_set_fg_color |
( |
wget_console_color_t |
colorid | ) |
|
- Parameters
-
[in] | colorid | Number of foreground/text color to set |
Sets the console foreground (text) color.
◆ wget_console_reset_fg_color()
void wget_console_reset_fg_color |
( |
void |
| ) |
|
Resets the console foreground (text) color.
◆ wget_console_init()
int wget_console_init |
( |
void |
| ) |
|
- Returns
- 0 on success, or -1 on error
Initializes the console.
◆ wget_console_deinit()
int wget_console_deinit |
( |
void |
| ) |
|
- Returns
- 0 on success, or -1 on error
Deinitializes the console.