2024-10-04 10:29:55 +02:00
|
|
|
// format-off
|
|
|
|
|
// xterm text color constants for print and syslog
|
|
|
|
|
const CONSOLE_COLOR_RED := "\x1b[31m";
|
|
|
|
|
const CONSOLE_COLOR_GREEN := "\x1b[32m";
|
|
|
|
|
const CONSOLE_COLOR_YELLOW := "\x1b[33m";
|
|
|
|
|
const CONSOLE_COLOR_BLUE := "\x1b[34m";
|
|
|
|
|
const CONSOLE_COLOR_MAGENTA := "\x1b[35m";
|
|
|
|
|
const CONSOLE_COLOR_CYAN := "\x1b[36m";
|
|
|
|
|
// format-on
|
2023-10-18 15:18:06 +02:00
|
|
|
|
2024-10-04 10:29:55 +02:00
|
|
|
Print( anything, console_color := "" );
|
2016-02-12 00:06:07 +01:00
|
|
|
|
|
|
|
|
// below this point not yet implemented
|
2024-10-04 10:29:55 +02:00
|
|
|
// input();
|
|
|
|
|
// inkey();
|
2016-02-12 00:06:07 +01:00
|
|
|
|
2024-10-04 10:29:55 +02:00
|
|
|
// newline();
|
2016-02-12 00:06:07 +01:00
|
|
|
|
2024-10-04 10:29:55 +02:00
|
|
|
// redirectin( filename );
|
|
|
|
|
// redirectout( filename );
|