From ae35026749a3f33d9f79240a9b26bfd279060757 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 5 Nov 2024 11:52:58 -0500 Subject: [PATCH] docs(ansi): deprecate CursorOrigin --- ansi/cursor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansi/cursor.go b/ansi/cursor.go index 6acae9e6..da144b92 100644 --- a/ansi/cursor.go +++ b/ansi/cursor.go @@ -181,6 +181,8 @@ func MoveCursor(col, row int) string { // CursorOrigin is a sequence for moving the cursor to the upper left corner of // the display. This is equivalent to `SetCursorPosition(1, 1)`. +// +// Deprecated: use [HomeCursorPosition] instead. const CursorOrigin = "\x1b[1;1H" // MoveCursorOrigin is a sequence for moving the cursor to the upper left