|
Arkanjo 0.1
A tool for find code duplicated functions in codebases
|
Linux-specific utility functions. More...
#include <iostream>#include <string>#include <algorithm>#include <cstdlib>#include <unistd.h>#include <termios.h>#include <sys/ioctl.h>#include <fcntl.h>#include <vector>#include <sstream>#include <iomanip>
Include dependency graph for linux_utils.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | UtilsOSDependable |
Functions | |
| int | UtilsOSDependable::convert_16_bit_to_8_bit (const string &hex16) |
| Converts a 16-bit hex color string to 8-bit RGB components. | |
| float | UtilsOSDependable::get_terminal_bg_color_luminance () |
| Gets the luminance of terminal background color. | |
| tuple< int, int, int > | UtilsOSDependable::parse_terminal_color_response (const string &response) |
| Parses terminal color response into RGB components. | |
| string | UtilsOSDependable::capture_terminal_response () |
| Captures terminal response to color query. | |
| bool | UtilsOSDependable::is_bg_color_dark () |
| Determines if terminal background color is dark. | |
Linux-specific utility functions.
Provides OS-dependent implementations for Linux systems, including terminal color detection and conversion utilities.
Definition in file linux_utils.hpp.