Add a option to clear the scrollback buffer

This commit is contained in:
Self Not Found authored and GitHub committed 2023-02-05 17:37:13 +08:00
1 parent 27d9be7613
commit a7bc082d2d
2 files changed
+11 -2

No files matched your search

+1
View File
@@ -58,6 +58,7 @@
#define _BACK_BRIGHT_WHITE_(s) "\x1b[47;1m" s AEND
#define _CLEAR_ "\x1b[2J"
#define _CLEAR_SCROLLBACK_ "\x1b[3J"
#define _TOP_ "\x1b[1;1f"
#if defined(HAVE_READLINE)