mirror of
https://github.com/fatih/color.git
synced 2024-11-24 08:02:14 +02:00
renaming the Reset names
This commit is contained in:
parent
c949fee4aa
commit
c211ac1e43
18
color.go
18
color.go
@ -66,24 +66,24 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
ResetBoldFaint Attribute = iota + 22
|
||||
ResetBold Attribute = iota + 22
|
||||
ResetItalic
|
||||
ResetUnderline
|
||||
ResetBlinkSlow
|
||||
ResetBlinkRapid
|
||||
ResetReverseVideo
|
||||
ResetBlinking
|
||||
_
|
||||
ResetReversed
|
||||
ResetConcealed
|
||||
ResetCrossedOut
|
||||
)
|
||||
|
||||
var mapResetAttributes map[Attribute]Attribute = map[Attribute]Attribute{
|
||||
Bold: ResetBoldFaint,
|
||||
Faint: ResetBoldFaint,
|
||||
Bold: ResetBold,
|
||||
Faint: ResetBold,
|
||||
Italic: ResetItalic,
|
||||
Underline: ResetUnderline,
|
||||
BlinkSlow: ResetBlinkSlow,
|
||||
BlinkRapid: ResetBlinkRapid,
|
||||
ReverseVideo: ResetReverseVideo,
|
||||
BlinkSlow: ResetBlinking,
|
||||
BlinkRapid: ResetBlinking,
|
||||
ReverseVideo: ResetReversed,
|
||||
Concealed: ResetConcealed,
|
||||
CrossedOut: ResetCrossedOut,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user