Go to the source code of this file.
Macros | |
#define | COLOR_CODE(color) "\x1b(c@" color ")" |
Functions | |
std::string | colorize_url (const std::string &url) |
Colorize URL to highlight the hostname and any unsafe characters. | |
#define COLOR_CODE | ( | color | ) | "\x1b(c@" color ")" |
std::string colorize_url | ( | const std::string & | url | ) |
Colorize URL to highlight the hostname and any unsafe characters.
Throws an exception if the url is invalid
References COLOR_CODE.
Referenced by GUIOpenURLMenu::regenerateGui(), and TestUtilities::testColorizeURL().