mirror of
https://github.com/tio/tio.git
synced 2026-05-03 07:37:57 +02:00
Improved Connected / Disconnected output
This commit is contained in:
parent
58071de753
commit
4b535a5c62
2 changed files with 20 additions and 10 deletions
|
|
@ -32,8 +32,8 @@
|
|||
#define ANSI_COLOR_WHITE "\x1b[1;37m"
|
||||
#define ANSI_COLOR_RESET "\x1b[0m"
|
||||
|
||||
#define gotty_printf(format, args...) \
|
||||
fprintf (stdout, "\n\033[300D" ANSI_COLOR_YELLOW "[gotty] " format ANSI_COLOR_RESET "\033[300D\n", ## args); \
|
||||
#define color_printf(format, args...) \
|
||||
fprintf (stdout, "\033[300D" ANSI_COLOR_YELLOW format ANSI_COLOR_RESET "\033[300D\n", ## args); \
|
||||
fflush(stdout);
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue