================
@@ -121,6 +122,15 @@ class LLDBDAPOptTable : public llvm::opt::GenericOptTable {
 };
 } // anonymous namespace
 
+#define ESCAPE "\x1b"
+#define CSI ESCAPE "["
+// Move the cursor to 0,0
+#define ANSI_CURSOR_HOME CSI "H"
+// Clear the screen buffer
+#define ANSI_ERASE_SCREEN CSI "2J"
+// Clear the scroll back buffer
+#define ANSI_ERASE_SCROLLBACK CSI "3J"
----------------
JDevlieghere wrote:

Can we use `lldb/Utility/AnsiTerminal.h`?

https://github.com/llvm/llvm-project/pull/163830
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to