add a clear screen for ansi enabled terms

This commit is contained in:
iceman1001 committed 2020-08-13 17:42:46 +02:00
1 parent 700f0624a4
commit 6bd0138f14
2 files changed
+10 -1

No files matched your search

+3
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