Skip to content

Commit

Permalink
fix(ansi): erase display consts names
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 29, 2024
1 parent c7af7c9 commit ec9fda2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansi/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func EraseDisplay(n int) string {
// EraseDisplay constants.
// These are the possible values for the EraseDisplay function.
const (
EraseDisplayRight = "\x1b[0J"
EraseDisplayLeft = "\x1b[1J"
EraseDisplayBelow = "\x1b[0J"
EraseDisplayAbove = "\x1b[1J"
EraseEntireDisplay = "\x1b[2J"
)

Expand Down

0 comments on commit ec9fda2

Please sign in to comment.