|
osmanip
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
|
#include <stdint.h>#include <string>

Go to the source code of this file.
Namespaces | |
| osm | |
Macros | |
| #define | OSMANIP_UTILITY_STRINGS_HPP |
Functions | |
| std::string | osm::get_formatted_from_ansi (const std::string &str, int32_t *last_pos, int32_t *last_size) |
| Formats a string according to the ANSI (Control Sequence Introducer) escape sequences present within the string. Can be used in a loop with appending data by using optional arguments. More... | |
| std::string | osm::trim_string (std::string &str) |
| size_t | osm::find_first_alpha (std::string_view str, size_t pos) |
| Finds the index of the first alphabetic character in the str, starting from the given position. More... | |
| std::string | osm::get_ansi_csi_string (const std::string &str, size_t esc_pos) |
| int32_t | osm::get_ansi_csi_number (const std::string &csi) |
| char | osm::get_ansi_csi_code (const std::string &csi) |
| void | osm::handle_csi (const std::string &csi_str, std::string &dst_str, int32_t *dst_crsr_pos) |
| #define OSMANIP_UTILITY_STRINGS_HPP |