[Lldb-commits] [lldb] [lldb-dap] Improve the runInTerminal ux. (PR #163830)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 16 12:08:05 PDT 2025
================
@@ -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"
----------------
ashgti wrote:
Sure, I can move those to AnsiTerminal.h, I think its missing some of these, but I'll add them.
https://github.com/llvm/llvm-project/pull/163830
More information about the lldb-commits
mailing list