add a clear screen for ansi enabled terms

This commit is contained in:
iceman1001 2020-08-13 17:42:46 +02:00
commit 6bd0138f14
2 changed files with 10 additions and 1 deletions

View file

@ -11,6 +11,9 @@
#define _CYAN_(s) "\x1b[36m" s AEND
#define _WHITE_(s) "\x1b[37m" s AEND
#define _CLEAR_ "\x1b[2J"
#define _TOP_ "\x1b[1;1f"
// https://wiki.hackzine.org/development/misc/readline-color-prompt.html
// Applications may indicate that the prompt contains
// characters that take up no physical screen space when displayed by