Arkanjo 0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
apple_utils.hpp
Go to the documentation of this file.
1//
2
3#ifndef APPLE_UTILS_HPP
4#define APPLE_UTILS_HPP
5
6#pragma once
7#include <string>
8#include <sstream>
9
10using namespace std;
11
13
15 tuple<int, int, int> parse_terminal_color_response(const string& response);
17 bool is_bg_color_dark();
18};
19
20#endif
string capture_terminal_response()
Captures terminal response to color query.
tuple< int, int, int > parse_terminal_color_response()
Parses terminal color response into RGB components on Windows.
bool is_bg_color_dark()
Determines if terminal background color is dark.
float get_terminal_bg_color_luminance()
Gets the luminance of terminal background color.
Definition json.hpp:5678