Skip to content

Commit

Permalink
[FIX] Fix illegible type SgrAttr documentation
Browse files Browse the repository at this point in the history
There was an issue with the word `sets`. Now it
is fixed and understandable, at least to me.
  • Loading branch information
mdm-code committed Oct 25, 2022
1 parent 279589c commit 6cf4af8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions termcols.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ const (
WhiteBbg SgrAttr = Csi + "107m"
)

// SgrAttr corresponds to a SGR (Select Graphic Rendition) control sequence
// sets display attributes. Each SGR parameter remains active until it is reset
// with the `CSI 0m` [RESET] control sequence.
// SgrAttr corresponds to an SGR (Select Graphic Rendition) control sequence.
// It sets display attributes. Each SGR parameter remains active until it is
// reset with the `CSI 0m` [RESET] control sequence.
type SgrAttr string

// Layer is used to specify whether the color should be applied to either
Expand Down

0 comments on commit 6cf4af8

Please sign in to comment.