Port Scanner
Lightweight TCP port scanner for Linux
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
printer.hpp File Reference
#include <string_view>
#include "types.hpp"
+ Include dependency graph for printer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Printer
 A utility class for printing formatted output to the terminal. More...
 

Namespaces

namespace  anonymous_namespace{printer.hpp}
 

Variables

std::string_view constexpr anonymous_namespace{printer.hpp}::RESET {"\033[0m"}
 ANSI escape code for resetting terminal colors.
 
std::string_view constexpr anonymous_namespace{printer.hpp}::RED {"\033[31m"}
 ANSI escape code for red text color.
 
std::string_view constexpr anonymous_namespace{printer.hpp}::GREEN {"\033[32m"}
 ANSI escape code for green text color.