Skip to content

Commit

Permalink
fix(ansi): change UnderlineStyle alias type to byte to reduce memory …
Browse files Browse the repository at this point in the history
…usage
  • Loading branch information
aymanbagabas committed Dec 20, 2024
1 parent 0b6191e commit 6c66f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (s Style) UnderlineColor(c Color) Style {

// UnderlineStyle represents an ANSI SGR (Select Graphic Rendition) underline
// style.
type UnderlineStyle = int
type UnderlineStyle = byte

const (
doubleUnderlineStyle = "4:2"
Expand Down

0 comments on commit 6c66f0f

Please sign in to comment.