Skip to content

Commit

Permalink
docs(ansi): deprecate CursorOrigin
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 5, 2024
1 parent 6f2b6b9 commit ae35026
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansi/cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae35026

Please sign in to comment.